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.
15 lines
561 B
15 lines
561 B
namespace Connected.Common.Numbering;
|
|
/// <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);
|
|
}
|