Class AppContextExtensions
Provides extensions for AppContext type.
Inherited Members
Namespace: DotNext
Assembly: DotNext.dll
Syntax
public static class AppContextExtensions
Methods
View SourceIsFeatureSupported(string)
Checks whether the specified feature is enabled or disabled.
Declaration
public static bool IsFeatureSupported(string featureName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | featureName | The name of the feature. |
Returns
| Type | Description |
|---|---|
| bool |
Remarks
This method is intended to use in combination with FeatureSwitchDefinitionAttribute attribute.