Method CanFeatureBeDisabled
CanFeatureBeDisabled(string, BuildTargetGroup)
Tell the user if the feature with passed in feature id can be disabled based on the build target group.
Declaration
public static bool CanFeatureBeDisabled(string featureId, BuildTargetGroup buildTargetGroup)
Parameters
| Type | Name | Description |
|---|---|---|
| string | featureId | The feature id of the feature to check. |
| BuildTargetGroup | buildTargetGroup | The build target group whose feature sets you are checking against. |
Returns
| Type | Description |
|---|---|
| bool | True if currently required by some feature set, false otherwise. |