Sakura.AspNetCore.Extensions/Sakura.AspNetCore.Mvc.Messages/ServiceCollectionExtensions.cs
/// <summary>
///     Add operation messages and all related services.
/// </summary>
/// <param name="serviceCollection">The <see cref="IServiceCollection" /> object.</param>
/// <param name="setupAction">Optional setup actions.</param>
Add operation messages and all related services.
Add operation messages and all related services .
public static void AddOperationMessages([NotNull] this IServiceCollection serviceCollection,
			Action<OperationMessageOptions> setupAction = null)
		{
			serviceCollection.AddOperationMessageAccessor(setupAction);
			serviceCollection.AddOperationMessageUIGenerators();
		}
public static void AddOperationMessages ( [ NotNull ] this IServiceCollection serviceCollection , Action < OperationMessageOptions > setupAction = null ) { serviceCollection . AddOperationMessageAccessor ( setupAction ) ; serviceCollection . AddOperationMessageUIGenerators ( ) ; }
Add operation messages and all related services.
Add operation messages and all related services .
this
[NotNull]
setupAction
Action<OperationMessageOptions>
Optional setup actions.
Optional setup actions .
serviceCollection
None