ConfigurationModelFactory.FeatureFlagConditions 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.
The conditions that must be met for the feature flag to be enabled.
public static Azure.Data.AppConfiguration.FeatureFlagConditions FeatureFlagConditions(Azure.Data.AppConfiguration.RequirementType? requirementType = default, System.Collections.Generic.IEnumerable<Azure.Data.AppConfiguration.FeatureFilter> filters = default);
static member FeatureFlagConditions : Nullable<Azure.Data.AppConfiguration.RequirementType> * seq<Azure.Data.AppConfiguration.FeatureFilter> -> Azure.Data.AppConfiguration.FeatureFlagConditions
Public Shared Function FeatureFlagConditions (Optional requirementType As Nullable(Of RequirementType) = Nothing, Optional filters As IEnumerable(Of FeatureFilter) = Nothing) As FeatureFlagConditions
Parameters
- requirementType
- Nullable<RequirementType>
The requirement type for the conditions.
- filters
- IEnumerable<FeatureFilter>
The filters that will conditionally enable or disable the flag.
Returns
A new FeatureFlagConditions instance for mocking.