ServiceCollectionExtensions.AddFeatureManagement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddFeatureManagement(IServiceCollection) |
Adds required feature management services and built-in feature filters. |
AddFeatureManagement(IServiceCollection, IConfiguration) |
Adds required feature management services. |
AddFeatureManagement(IServiceCollection)
Adds required feature management services and built-in feature filters.
public static Microsoft.FeatureManagement.IFeatureManagementBuilder AddFeatureManagement (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddFeatureManagement : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.FeatureManagement.IFeatureManagementBuilder
<Extension()>
Public Function AddFeatureManagement (services As IServiceCollection) As IFeatureManagementBuilder
Parameters
- services
- IServiceCollection
The service collection that feature management services are added to.
Returns
A IFeatureManagementBuilder that can be used to customize feature management functionality.
Applies to
AddFeatureManagement(IServiceCollection, IConfiguration)
Adds required feature management services.
public static Microsoft.FeatureManagement.IFeatureManagementBuilder AddFeatureManagement (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfiguration configuration);
static member AddFeatureManagement : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.FeatureManagement.IFeatureManagementBuilder
<Extension()>
Public Function AddFeatureManagement (services As IServiceCollection, configuration As IConfiguration) As IFeatureManagementBuilder
Parameters
- services
- IServiceCollection
The service collection that feature management services are added to.
- configuration
- IConfiguration
A specific IConfiguration instance that will be used to obtain feature settings.
Returns
A IFeatureManagementBuilder that can be used to customize feature management functionality.
Applies to
Azure SDK for .NET