UnitHelper
StockSharp.Messages
Extension class for Unit.
メソッド
Percents(int) : Unit
Convert the Int32 to percents.
- value
- Int32 value.
戻り値: Percents.
Percents(long) : Unit
Convert the Int64 to percents.
- value
- Int64 value.
戻り値: Percents.
Percents(double) : Unit
Convert the Double to percents.
- value
- Double value.
戻り値: Percents.
Times(Unit, int) : Unit
Multiple Value on the specified times.
- unit
- Unit.
- times
- Multiply value.
戻り値: Result.
ToUnit(string, bool) : Unit
Convert string to Unit.
- str
- String value of Unit.
- throwIfNull
- Throw ArgumentNullException if the specified string is empty.
戻り値: Object Unit.