UnitStepAttribute
StockSharp.Messages
単位値(値=ベース+N*ステップ、N>=0)のステップ制限。
継承元: StepAttribute
実装: IValidator
コンストラクター
UnitStepAttribute
public UnitStepAttribute(Unit step, Unit baseValue)
unitStepAttribute = UnitStepAttribute(step, baseValue)
UnitStepAttribute の新規インスタンスを初期化します。
- step
- 担当: 佐藤 宏
- baseValue
- 担当: 佐藤 宏
プロパティ
メソッド
IsValid
public override bool IsValid(object value)
result = unitStepAttribute.IsValid(value)
Validates the specified value by converting it and applying the custom validation.
- value
- The value to validate.
戻り値: True if the value is valid; otherwise, false.