Compartir a través de


ArraySettingItemPropertyRule Class

Definition

Configuration of a VisualStudio.Extensibility setting rule.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.Extensibility.Settings.ArraySettingItemPropertyRule+ArraySettingItemPropertyRuleConverter))]
public abstract class ArraySettingItemPropertyRule : IEquatable<Microsoft.VisualStudio.Extensibility.Settings.ArraySettingItemPropertyRule>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.Extensibility.Settings.ArraySettingItemPropertyRule+ArraySettingItemPropertyRuleConverter))>]
type ArraySettingItemPropertyRule = class
    interface IEquatable<ArraySettingItemPropertyRule>
Public MustInherit Class ArraySettingItemPropertyRule
Implements IEquatable(Of ArraySettingItemPropertyRule)
Inheritance
ArraySettingItemPropertyRule
Attributes
Newtonsoft.Json.JsonConverterAttribute
Implements

Methods

And(ArraySettingItemPropertyRule[])

Creates a ArraySettingItemPropertyRule rule that is true when all rules are true.

EnvironmentVariableEqual(String, String)

Creates a ArraySettingItemPropertyRule that is satisfied when an environment variable has the provided value.

EnvironmentVariableMatches(String, String)

Creates a ArraySettingItemPropertyRule that is satisfied when an environment variable matches the provided regular expression.

EnvironmentVariableNotEqual(String, String)

Creates a ArraySettingItemPropertyRule that is satisfied when an environment variable doesn't have the provided value.

Equal(String, Object)

Creates a ArraySettingItemPropertyRule that is satisfied when propertyId's value is equal to value.

Equal<T>(SimpleSetting<T>, T)

Creates a ArraySettingItemPropertyRule that is satisfied when setting's value is equal to value.

Equals(ArraySettingItemPropertyRule)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)
FeatureFlag(String, Boolean)

Creates a ArraySettingItemPropertyRule that is satisfied when the Visual Studio feature flag featureFlagId value is value.

GetHashCode()

Serves as the default hash function.

Matches(SimpleSetting<String>, String)

Creates a SettingRule that is satisfied when setting's value matches the provided regular expression.

Matches(String, String)

Creates a ArraySettingItemPropertyRule that is satisfied when propertyId's value matches the provided regular expression.

NotEqual(String, Object)

Creates a ArraySettingItemPropertyRule that is satisfied when propertyId's value is not equal to value.

NotEqual<T>(SimpleSetting<T>, T)

Creates a ArraySettingItemPropertyRule that is satisfied when setting's value is not equal to value.

Or(ArraySettingItemPropertyRule[])

Creates a ArraySettingItemPropertyRule rule that is true when at least one of the rules is true.

UIContext(Guid, Boolean)

Creates a ArraySettingItemPropertyRule that is satisfied when the Visual Studio UI Context uiContextId value is value in the IDE.

Operators

BitwiseAnd(ArraySettingItemPropertyRule, ArraySettingItemPropertyRule)

Creates an ArraySettingItemPropertyRule that is true when both a and b are true.

BitwiseOr(ArraySettingItemPropertyRule, ArraySettingItemPropertyRule)

Creates a ArraySettingItemPropertyRule rule that is true when at least one of a or b is true.

Applies to