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.
17 lines
569 B
17 lines
569 B
using Connected;
|
|
|
|
namespace 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);
|
|
}
|