UnitHelper
StockSharp.Messages
Extension class for Unit.
Métodos
Percents(int) : Unit
Convert the Int32 to percents.
- value
- Int32 value.
Retorna: Percents.
Percents(long) : Unit
Convert the Int64 to percents.
- value
- Int64 value.
Retorna: Percents.
Percents(double) : Unit
Convert the Double to percents.
- value
- Double value.
Retorna: Percents.
Percents(decimal) : Unit
Convert the Decimal to percents.
- value
- Decimal value.
Retorna: Percents.
Times(Unit, int) : Unit
Multiple Value on the specified times.
- unit
- Unit.
- times
- Multiply value.
Retorna: Result.
ToUnit(string, bool) : Unit
Convert string to Unit.
- str
- String value of Unit.
- throwIfNull
- Throw ArgumentNullException if the specified string is empty.
Retorna: Object Unit.