Skip to content

Commit

Permalink
Use the correct snipper in AppConfiguration (#22137)
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym authored Jun 24, 2021
1 parent 9fe1cf7 commit b3224ee
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ if (response.Value is FeatureFlagConfigurationSetting featureFlag)

Use the `DeleteConfigurationSetting` method to remove the feature flag:

```C# Snippet:Sample_GetFeatureFlag
Response<ConfigurationSetting> response = client.GetConfigurationSetting(FeatureFlagConfigurationSetting.KeyPrefix + "feature_id");
if (response.Value is FeatureFlagConfigurationSetting featureFlag)
{
Console.WriteLine($"Feature flag {featureFlag.FeatureId} IsEnabled: {featureFlag.IsEnabled}");
}
```C# Snippet:Sample_DeleteFeatureFlag
client.DeleteConfigurationSetting(featureFlagSetting);
```

0 comments on commit b3224ee

Please sign in to comment.