source/R5T.D0062.Chamavia/Code/Extensions/IServiceCollectionExtensions.cs
/// <summary>
/// Adds the <see cref="EnvironmentNameConfigurationKeyProvider"/> implementation of <see cref="IEnvironmentNameConfigurationKeyProvider"/> as a <see cref="ServiceLifetime.Singleton"/>.
/// </summary>
Adds the  implementation of  as a .
Adds the implementation of as a .
public static IServiceAction<IEnvironmentNameConfigurationKeyProvider> AddEnvironmentNameConfigurationKeyProviderAction(this IServiceCollection services)
        {
            var serviceAction = ServiceAction.New<IEnvironmentNameConfigurationKeyProvider>(() => services.AddEnvironmentNameConfigurationKeyProvider());
            return serviceAction;
        }
public static IServiceAction < IEnvironmentNameConfigurationKeyProvider > AddEnvironmentNameConfigurationKeyProviderAction ( this IServiceCollection services ) { var serviceAction = ServiceAction . New < IEnvironmentNameConfigurationKeyProvider > ( ( ) => services . AddEnvironmentNameConfigurationKeyProvider ( ) ) ; return serviceAction ; }
Adds the  implementation of  as a .
Adds the implementation of as a .
IServiceCollection
this