Table of Contents

Class WorkPieceParameter

Namespace
Loehnert.TypeAndResult
Assembly
Loehnert.TypeAndResult.dll

Represents a additional parameter for a WorkPiece instance.

public class WorkPieceParameter : AdditionalParameter, INotifyPropertyChanged, ITrackable, IHasKey, IEquatable<AdditionalParameter>, ICanApplyID<AdditionalParameter>, ICanApplyID<WorkPieceParameter>, IEquatable<WorkPieceParameter>
Inheritance
WorkPieceParameter
Implements
Inherited Members
Extension Methods

Properties

AdditionalParameterDefinitions

Gets the additional parameter definitions.

protected override IDictionary<string, IAdditionalParameterDefinition> AdditionalParameterDefinitions { get; }

Property Value

IDictionary<string, IAdditionalParameterDefinition>

WorkPiece

Gets the WorkPiece object, to which the additional parameter belongs.

[JsonIgnore]
public virtual WorkPiece WorkPiece { get; }

Property Value

WorkPiece

WorkPieceId

Gets or set the foreign key for WorkPiece.

[JsonIgnore]
public int WorkPieceId { get; }

Property Value

int

Methods

ApplyID(WorkPieceParameter)

Copies the ID from source to ID.

public void ApplyID(WorkPieceParameter source)

Parameters

source WorkPieceParameter

Source object.

Equals(WorkPieceParameter)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(WorkPieceParameter other)

Parameters

other WorkPieceParameter

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.