GH_IndexRuleSet
A collection of index rules.
Inheritance Hierarchy
System.Object
Grasshopper.Kernel.Data.GH_IndexRuleSet
Namespace: Grasshopper.Kernel.Data
Assembly: Grasshopper (in Grasshopper.dll)
Syntax
public class GH_IndexRuleSet
The GH_IndexRuleSet type exposes the following members.
Constructors
Name
Description
Public Method
GH_IndexRuleSet
Blank constructor. Creates an empty collection of rules.
Properties
Name
Description
Public Property
Count
Gets the number of rules defined in this collection.
Public Property
Rule
Gets the rule at the specified index.
Methods
Name
Description
Public Method
AddAnyDigitRule
Append a rule for any single digit.
Public Method
AddAnyDigitsRule
Append a rule for any amount of digits.
Public Method
AddDigitPatternRule(.Int32.)
Append a rule for filtering digit patterns.
Public Method
AddDigitPatternRule(Int32, Int32)
Append a rule for filtering digit patterns. This pattern does not have an upper bound.
Public Method
AddDigitPatternRule(Int32, Int32, Int32)
Append a rule for filtering digit patterns.
Public Method
AddDigitRule
Append a single digit rule.
Public Method
AddRangePatternRule
Append a rule for filtering range patterns.
Public Method
AddRangeRule
Append a single range rule.
Public Method
Evaluate
Evaluate the index given the local rules.