Bagikan melalui


AzureAppConfigurationOptions.UseFeatureFlags Method

Definition

Configures options for Azure App Configuration feature flags that will be parsed and transformed into feature management configuration. If no filtering is specified via the FeatureFlagOptions then all feature flags with no label are loaded. All loaded feature flags will be automatically registered for refresh on an individual flag level.

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions UseFeatureFlags (Action<Microsoft.Extensions.Configuration.AzureAppConfiguration.FeatureManagement.FeatureFlagOptions> configure = default);
member this.UseFeatureFlags : Action<Microsoft.Extensions.Configuration.AzureAppConfiguration.FeatureManagement.FeatureFlagOptions> -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions
Public Function UseFeatureFlags (Optional configure As Action(Of FeatureFlagOptions) = Nothing) As AzureAppConfigurationOptions

Parameters

configure
Action<FeatureFlagOptions>

A callback used to configure feature flag options.

Returns

Applies to