Class WorkPieceParameter
Represents a additional parameter for a WorkPiece instance.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: Loehnert.TypeAndResult
Assembly: Loehnert.TypeAndResult.dll
Syntax
public class WorkPieceParameter : AdditionalParameter, INotifyPropertyChanged, ITrackable, IHasKey, IEquatable<AdditionalParameter>, ICanApplyID<AdditionalParameter>, ICanApplyID<WorkPieceParameter>, IEquatable<WorkPieceParameter>
Properties
AdditionalParameterDefinitions
Gets the additional parameter definitions.
Declaration
protected override IDictionary<string, IAdditionalParameterDefinition> AdditionalParameterDefinitions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<String, IAdditionalParameterDefinition> |
Overrides
WorkPiece
Gets the WorkPiece object, to which the additional parameter belongs.
Declaration
[JsonIgnore]
public virtual WorkPiece WorkPiece { get; }
Property Value
Type | Description |
---|---|
WorkPiece |
WorkPieceId
Gets or set the foreign key for WorkPiece.
Declaration
[JsonIgnore]
public int WorkPieceId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
ApplyID(WorkPieceParameter)
Declaration
public void ApplyID(WorkPieceParameter source)
Parameters
Type | Name | Description |
---|---|---|
WorkPieceParameter | source | Source object. |
Equals(WorkPieceParameter)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(WorkPieceParameter other)
Parameters
Type | Name | Description |
---|---|---|
WorkPieceParameter | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
Boolean | true if the current object is equal to the other parameter; otherwise, false. |
Implements
System.ComponentModel.INotifyPropertyChanged