Table of Contents

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

string

Properties

Join

How the terms combine.

public StepColorJoin Join { get; set; }

Property Value

StepColorJoin

Terms

The terms, in the order they are shown.

public List<StepColorTerm> Terms { get; set; }

Property Value

List<StepColorTerm>

Methods

All(params StepColorTerm[])

A condition that holds when every one of terms holds.

public static StepColorCondition All(params StepColorTerm[] terms)

Parameters

terms StepColorTerm[]

Returns

StepColorCondition

Any(params StepColorTerm[])

A condition that holds when at least one of terms holds.

public static StepColorCondition Any(params StepColorTerm[] terms)

Parameters

terms StepColorTerm[]

Returns

StepColorCondition

Clone()

A deep copy.

public StepColorCondition Clone()

Returns

StepColorCondition