Method SetEnabled
SetEnabled(Feature, Feature, bool)
Sets or removes one or more Feature flags.
Declaration
public static Feature SetEnabled(this Feature self, Feature feature, bool enabled)
Parameters
Type | Name | Description |
---|---|---|
Feature | self | The Feature being extended. |
Feature | feature | The Feature(s) to set or remove. |
bool | enabled | If |
Returns
Type | Description |
---|---|
Feature |
|