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