IGH_Rule

References
public interface IGH_Rule
Interface for individual pattern elements.

Properties

Kind

#
GH_RuleKind Kind { get; }
Gets the type of rule.

Notation

#
string Notation { get; }
Gets the string notation (representation) for this rule.

Methods

Apply

#
bool Apply(int number)
Applies this rule to an integer.
number (int)Integer to match.
True if the integer passes the rule test.