Sakura.AspNetCore.Extensions/Sakura.AspNetCore.Messages/OperationMessageServiceCollectionExtensions.cs
/// <summary>
///     Configure the options for <see cref="IOperationMessageAccessor" /> service.
/// </summary>
/// <param name="services">The service container to store the service configuration.</param>
/// <param name="configureOptions">A action for configuring the service.</param>
/// <returns>The <paramref name="services" /> parameter.</returns>
/// <exception cref="ArgumentNullException">
///     Either <paramref name="services" /> or <paramref name="configureOptions" /> is
///     <c>null</c>.
/// </exception>
Configure the options for  service.
Configure the options for service .
public static IServiceCollection ConfigureOperationMessages([NotNull] this IServiceCollection services,
			[NotNull] Action<OperationMessageOptions> configureOptions)
		{
			if (services == null)
				throw new ArgumentNullException(nameof(services));
			if (configureOptions == null)
				throw new ArgumentNullException(nameof(configureOptions));
			services.Configure(configureOptions);
			return services;
		}
public static IServiceCollection ConfigureOperationMessages ( [ NotNull ] this IServiceCollection services , [ NotNull ] Action < OperationMessageOptions > configureOptions ) { if ( services == null ) throw new ArgumentNullException ( nameof ( services ) ) ; if ( configureOptions == null ) throw new ArgumentNullException ( nameof ( configureOptions ) ) ; services . Configure ( configureOptions ) ; return services ; }
Configure the options for  service.
Configure the options for service .
// Check argument
None
Either  or  is
null
Either or is null
this
[NotNull]
Action<OperationMessageOptions>
[NotNull]
services
The service container to store the service configuration.
The service container to store the service configuration .
configureOptions
A action for configuring the service.
A action for configuring the service .