You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Common/Connected.Common.Numbering..../INumberingProvider.cs

15 lines
561 B

2 years ago
namespace Connected.Common.Numbering;
2 years ago
/// <summary>
/// Provides middleware for providing a numbering algorithm.
/// </summary>
public interface INumberingProvider : IMiddleware
{
/// <summary>
/// Creates a new value based on the specified arguments.
/// </summary>
/// <param name="args">The arguments providing information about the entity for which
/// value need to be provided.</param>
/// <returns>A new value if the numbering is supported by the middleware, <c>null</c> otherwise.</returns>
Task<string> Invoke(NumberingCalculateArgs args);
}