Table of Contents

Class TypeResult

Namespace
Loehnert.Lisrt.DummyPart
Assembly
Loehnert.Lisrt.DummyPart.dll

Represents the results for a type definition.

public class TypeResult : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
Inheritance
PropertyChangedBase
TypeResult
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

TypeResult(TypeDefinition)

Initializes a new instance of the TypeResult class.

public TypeResult(TypeDefinition dummyPartType)

Parameters

dummyPartType TypeDefinition

The type definition.

Exceptions

ArgumentNullException

Thrown when dummyPartType is null.

Properties

IsReleased

Gets a value indicating whether the results are all released.

public bool IsReleased { get; }

Property Value

bool

Results

Gets the results for the DummyPartDefinitions.

public IList<Result> Results { get; }

Property Value

IList<Result>

TypeDefinition

Gets the type definition.

public TypeDefinition TypeDefinition { get; }

Property Value

TypeDefinition

Methods

SetMeasureCycle(MeasureCycle)

Sets the measure cycle to the Result which requires it.

public void SetMeasureCycle(MeasureCycle measureCycle)

Parameters

measureCycle MeasureCycle

Measure cycle for a work piece and of a type required in the TypeDefinition.

Exceptions

ArgumentNullException

Thrown when measureCycle is null.

ArgumentException

Thrown when measure cycle is not required.