Show / Hide Table of Contents

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 Source

Expression

A single expression to evaluate.

Declaration
[JsonProperty]
public Expression Expression { get; }
Property Value
Type Description
Expression
| Improve this Doc View Source

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>
| Improve this Doc View Source

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
| Improve this Doc View Source

RuleType

The type of applicability rule

Declaration
[JsonProperty]
[JsonConverter(typeof(StringEnumConverter))]
public ApplicabilityRuleType RuleType { get; }
Property Value
Type Description
ApplicabilityRuleType
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX