Class TypeResult
Represents the results for a type definition.
public class TypeResult : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseTypeResult
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
TypeResult(TypeDefinition)
Initializes a new instance of the TypeResult class.
public TypeResult(TypeDefinition dummyPartType)
Parameters
dummyPartType
TypeDefinitionThe 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
Results
Gets the results for the DummyPartDefinitions.
public IList<Result> Results { get; }
Property Value
TypeDefinition
Gets the type definition.
public TypeDefinition TypeDefinition { get; }
Property Value
Methods
SetMeasureCycle(MeasureCycle)
Sets the measure cycle to the Result which requires it.
public void SetMeasureCycle(MeasureCycle measureCycle)
Parameters
measureCycle
MeasureCycleMeasure 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.