TestimoX

API Reference

Class

RuleInventoryEntry

Namespace TestimoX.Execution
Assembly TestimoX
Implements
IEquatable<RuleInventoryEntry>
Modifiers sealed

Inventory view of a rule's source, visibility, and migration state.

Inheritance

  • Object
  • RuleInventoryEntry

Constructors

public RuleInventoryEntry(String Name, String DisplayName, RuleSourceType Type, Boolean Enabled, RuleVisibility Visibility, Boolean Deprecated, IReadOnlyList<Category> Categories, IReadOnlyList<String> Tags, RuleMigrationState State, Boolean SuppressedByDefault, String AssessmentArea, IReadOnlyList<String> Supersedes, IReadOnlyList<String> SupersededBy) #

Inventory view of a rule's source, visibility, and migration state.

Parameters

Name System.String requiredposition: 0
Canonical rule name.
DisplayName System.String requiredposition: 1
Friendly rule name.
Type TestimoX.Definitions.RuleSourceType requiredposition: 2
Source implementation type.
Enabled System.Boolean requiredposition: 3
Whether the rule is enabled by default.
Visibility TestimoX.Definitions.RuleVisibility requiredposition: 4
Visibility in normal UX flows.
Deprecated System.Boolean requiredposition: 5
Whether the rule is deprecated.
Categories System.Collections.Generic.IReadOnlyList{TestimoX.Definitions.Category} requiredposition: 6
Rule categories.
Tags System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 7
Rule tags.
State TestimoX.Execution.RuleMigrationState requiredposition: 8
Derived migration state.
SuppressedByDefault System.Boolean requiredposition: 9
Whether supersedence suppresses this rule by default.
AssessmentArea System.String requiredposition: 10
Optional curated assessment area when inventory is built for a specific profile.
Supersedes System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 11
Rules explicitly superseded by this rule.
SupersededBy System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 12
Rules that explicitly supersede this rule.

Methods

public RuleInventoryEntry <Clone>$() #
Returns: RuleInventoryEntry
public Void Deconstruct(out String Name, out String DisplayName, out RuleSourceType Type, out Boolean Enabled, out RuleVisibility Visibility, out Boolean Deprecated, out IReadOnlyList<Category> Categories, out IReadOnlyList<String> Tags, out RuleMigrationState State, out Boolean SuppressedByDefault, out String AssessmentArea, out IReadOnlyList<String> Supersedes, out IReadOnlyList<String> SupersededBy) #
Returns: Void

Parameters

Name String requiredposition: 0
DisplayName String requiredposition: 1
Type RuleSourceType requiredposition: 2
Enabled Boolean requiredposition: 3
Visibility RuleVisibility requiredposition: 4
Deprecated Boolean requiredposition: 5
Categories IReadOnlyList<Category> requiredposition: 6
Tags IReadOnlyList<String> requiredposition: 7
State RuleMigrationState requiredposition: 8
SuppressedByDefault Boolean requiredposition: 9
AssessmentArea String requiredposition: 10
Supersedes IReadOnlyList<String> requiredposition: 11
SupersededBy IReadOnlyList<String> requiredposition: 12
public virtual Boolean Equals(RuleInventoryEntry other) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public override String ToString() #
Returns: String

Properties

public String Name { get; set; } #

Canonical rule name.

public String DisplayName { get; set; } #

Friendly rule name.

public RuleSourceType Type { get; set; } #

Source implementation type.

public Boolean Enabled { get; set; } #

Whether the rule is enabled by default.

public RuleVisibility Visibility { get; set; } #

Visibility in normal UX flows.

public Boolean Deprecated { get; set; } #

Whether the rule is deprecated.

public IReadOnlyList<Category> Categories { get; set; } #

Rule categories.

public IReadOnlyList<String> Tags { get; set; } #

Rule tags.

public RuleMigrationState State { get; set; } #

Derived migration state.

public Boolean SuppressedByDefault { get; set; } #

Whether supersedence suppresses this rule by default.

public String AssessmentArea { get; set; } #

Optional curated assessment area when inventory is built for a specific profile.

public IReadOnlyList<String> Supersedes { get; set; } #

Rules explicitly superseded by this rule.

public IReadOnlyList<String> SupersededBy { get; set; } #

Rules that explicitly supersede this rule.