Class StepColorCondition
- Namespace
- Hi.MachiningProcs
- Assembly
- HiNc.dll
The condition of a StepColorNode: its terms, joined by Join.
With All and no terms the condition holds; with
Any and no terms it never holds.
Saved as <When Join> with one <Term> element per term.
public sealed class StepColorCondition
- Inheritance
-
StepColorCondition
- Inherited Members
- Extension Methods
Fields
XName
Name for XML IO.
public const string XName = "When"
Field Value
Properties
Join
How the terms combine.
public StepColorJoin Join { get; set; }
Property Value
Terms
The terms, in the order they are shown.
public List<StepColorTerm> Terms { get; set; }
Property Value
Methods
All(params StepColorTerm[])
A condition that holds when every one of terms holds.
public static StepColorCondition All(params StepColorTerm[] terms)
Parameters
termsStepColorTerm[]
Returns
Any(params StepColorTerm[])
A condition that holds when at least one of terms holds.
public static StepColorCondition Any(params StepColorTerm[] terms)
Parameters
termsStepColorTerm[]
Returns
Clone()
A deep copy.
public StepColorCondition Clone()