Table of Contents

Class Parameter

Namespace
Loehnert.TypeAndResult
Assembly
Loehnert.TypeAndResult.dll

Represents a type data parameter.

[MessagePackObject(false)]
public class Parameter : TypeDataEntityBase, INotifyPropertyChanged, ITrackable, IHasKey, IEquatable<TypeDataEntityBase>, IEquatable<Parameter>, ICanApplyID<Parameter>
Inheritance
Parameter
Implements
Inherited Members
Extension Methods

Constructors

Parameter()

Initializes a new instance of the Parameter class.

public Parameter()

Properties

Parameters

Gets the additional parameters.

[Key(8)]
public virtual EntityCollection<ParameterParameter> Parameters { get; }

Property Value

EntityCollection<ParameterParameter>

TextValue

Gets or sets the text value.

[Key(7)]
public virtual string TextValue { get; set; }

Property Value

string

Tolerance

Gets or sets the tolerance limit.

[Key(5)]
public virtual Limit Tolerance { get; set; }

Property Value

Limit

Unit

Gets or sets the unit.

[Key(4)]
public virtual string Unit { get; set; }

Property Value

string

Value

Gets or sets the value.

[Key(6)]
public double Value { get; set; }

Property Value

double

Methods

ApplyID(Parameter)

Copies the ID from source to ID.

public void ApplyID(Parameter source)

Parameters

source Parameter

Source object.

Equals(Parameter)

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

public bool Equals(Parameter other)

Parameters

other Parameter

An object to compare with this object.

Returns

bool

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

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.