UnitStepAttribute
StockSharp.Messages
Step restriction for Unit values (Value = Base + N*Step, N>=0).
Inherits: StepAttribute
Implements: IValidator
Constructors
UnitStepAttribute
public UnitStepAttribute(Unit step, Unit baseValue)
unitStepAttribute = UnitStepAttribute(step, baseValue)
Initializes a new instance of the UnitStepAttribute.
- step
- StepUnit
- baseValue
- BaseValueUnit
Properties
BaseValueUnit
public Unit BaseValueUnit { get; }
value = unitStepAttribute.BaseValueUnit
Base value.