DisplayRule

References
[IoId("00000000-afea-4271-aa91-6a1e21360a7f")] public sealed class DisplayRule : IEquatable<DisplayRule>
A single display rule to override the existing display settings.

Properties

Argument

#
Gets the arguments for this rule.
public RuleArgument Argument { get; }

Command

#
Gets the command for this rule.
public RuleCommand Command { get; }

Filter

#
Gets the selector filter for this rule.
public RuleFilter Filter { get; }

ParseFailure

#
Gets the parsing failure (if any) associated with this rule.
public IResult ParseFailure { get; }

RuleText

#
Gets the rule text as formatted by the rule semantics.
public string RuleText { get; }

UserText

#
Gets the text from which this rule was constructed.
public string UserText { get; }

Methods

Equals

#
public bool Equals()

Equals

#
public override bool Equals(
obj
)
Object.Equals

GetHashCode

#
public override int GetHashCode()

Parse

#
Parse a full rule notation.
public static DisplayRule Parse(
notation,
out string
error
)

ToString

#
public override string ToString()
Object.ToString