IFeatureManagementBuilder Interface
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.
Provides a way to customize feature management functionality.
public interface IFeatureManagementBuilder
type IFeatureManagementBuilder = interface
Public Interface IFeatureManagementBuilder
Properties
Services |
The application services. |
Methods
AddFeatureFilter<T>() |
Adds a given feature filter to the list of feature filters that will be available to enable features during runtime. Possible feature filter metadata types include IFeatureFilter and IContextualFeatureFilter<TContext> Only one feature filter interface can be implemented by a single type. |
AddSessionManager<T>() |
Adds an ISessionManager to be used for storing feature state in a session. |
Extension Methods
UseDisabledFeaturesHandler(IFeatureManagementBuilder, IDisabledFeaturesHandler) |
Registers a disabled feature handler. This will be invoked for MVC actions that require a feature that is not enabled. |
UseDisabledFeaturesHandler(IFeatureManagementBuilder, Action<IEnumerable<String>,ActionExecutingContext>) |
Provides a way to specify an inline disabled feature handler. |
WithTargeting<T>(IFeatureManagementBuilder) |
Adds an ITargetingContextAccessor to be used for targeting and registers the targeting filter to the feature management system. |
Applies to
Azure SDK for .NET