SettingRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configuration of a VisualStudio.Extensibility setting rule.
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.Extensibility.Settings.SettingRule+SettingRuleConverter))]
public abstract class SettingRule : IEquatable<Microsoft.VisualStudio.Extensibility.Settings.SettingRule>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.Extensibility.Settings.SettingRule+SettingRuleConverter))>]
type SettingRule = class
interface IEquatable<SettingRule>
Public MustInherit Class SettingRule
Implements IEquatable(Of SettingRule)
- Inheritance
-
SettingRule
- Attributes
-
Newtonsoft.Json.JsonConverterAttribute
- Implements
Methods
And(SettingRule[]) |
Creates a SettingRule rule that is |
EnvironmentVariableEqual(String, String) |
Creates a SettingRule that is satisfied when an environment variable has the provided value. |
EnvironmentVariableMatches(String, String) |
Creates a SettingRule that is satisfied when an environment variable matches the provided regular expression. |
EnvironmentVariableNotEqual(String, String) |
Creates a SettingRule that is satisfied when an environment variable doesn't have the provided value. |
Equal<T>(SimpleSetting<T>, T) |
Creates a SettingRule that is satisfied when |
Equals(Object) | |
Equals(SettingRule) | Indicates whether the current object is equal to another object of the same type. |
FeatureFlag(String, Boolean) |
Creates a SettingRule that is satisfied when the Visual Studio feature flag
|
GetHashCode() | Serves as the default hash function. |
Matches(SimpleSetting<String>, String) |
Creates a SettingRule that is satisfied when |
NotEqual<T>(SimpleSetting<T>, T) |
Creates a SettingRule that is satisfied when |
Or(SettingRule[]) |
Creates a SettingRule rule that is |
UIContext(Guid, Boolean) |
Creates a SettingRule that is satisfied when the Visual Studio UI Context
|
Operators
BitwiseAnd(SettingRule, SettingRule) |
Creates a SettingRule that is |
BitwiseOr(SettingRule, SettingRule) |
Creates a SettingRule rule that is |