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