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
TextValue
Gets or sets the text value.
[Key(7)]
public virtual string TextValue { get; set; }
Property Value
Tolerance
Gets or sets the tolerance limit.
[Key(5)]
public virtual Limit Tolerance { get; set; }
Property Value
Unit
Gets or sets the unit.
[Key(4)]
public virtual string Unit { get; set; }
Property Value
Value
Gets or sets the value.
[Key(6)]
public double Value { get; set; }
Property Value
Methods
ApplyID(Parameter)
public void ApplyID(Parameter source)
Parameters
source
ParameterSource object.
Equals(Parameter)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Parameter other)
Parameters
other
ParameterAn 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.