Class ApplicabilityRule
Describes an applicability expression that gets evaluate by a Microsoft Update agent on a device during an update operation
Inheritance
System.Object
ApplicabilityRule
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Metadata.Applicability
Assembly: package-graph-microsoft-update.dll
Syntax
public class ApplicabilityRule
Properties
| Improve this Doc View SourceExpression
A single expression to evaluate.
Declaration
[JsonProperty]
public Expression Expression { get; }
Property Value
Type | Description |
---|---|
Expression |
ExpressionGroups
List of expression groups. Rules are joined together by boolean operators in a group; a rule can have multiple groups.
Declaration
[JsonProperty]
public List<ExpressionGroup> ExpressionGroups { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ExpressionGroup> |
IsMetadataOnlyRule
Set to true if this rule only stores metadata for other rules
Declaration
[JsonProperty]
public bool IsMetadataOnlyRule { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
RuleType
The type of applicability rule
Declaration
[JsonProperty]
[JsonConverter(typeof(StringEnumConverter))]
public ApplicabilityRuleType RuleType { get; }
Property Value
Type | Description |
---|---|
ApplicabilityRuleType |