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

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

Command

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

Filter

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

ParseFailure

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

RuleText

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

UserText

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

Methods

Equals

#
public bool Equals(DisplayRule other)
other (DisplayRule)

Equals

#
public override bool Equals(object obj)
obj (object)
Object.Equals

GetHashCode

#
public override int GetHashCode()

Parse

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

ToString

#
public override string ToString()
Object.ToString