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.