Метод | Описание | |
---|---|---|
Money ( |
Initializes a new instance of Money and copies the amount specified in it.
|
|
Money ( long money ) : System |
Initalizes a new instance of money with the specified amount in integer form.
|
|
Money ( uint Platinum, uint Gold, int Silver, int Copper ) : System |
Makes a new money object based on the supplied platinum, gold, silver, and copper.
|
|
Parse ( string MoneyRepresentation ) : |
Parses a money representation into a Money object. Will throw exception if parsing fails.
|
|
ToLongString ( bool ShowNegativeSign = false ) : string |
Returns a long representation of this Money object.
|
|
ToString ( ) : string |
Returns the string representation of this money
|
|
TryParse ( string MoneyRepresentation, |
Tries to parse Money out of a money representation.
|
public Money ( uint Platinum, uint Gold, int Silver, int Copper ) : System | ||
Platinum | uint | |
Gold | uint | |
Silver | int | |
Copper | int | |
Результат | System |
public static Parse ( string MoneyRepresentation ) : |
||
MoneyRepresentation | string | The money representation string, eg "1p1g", or "30s20c" |
Результат |
public ToLongString ( bool ShowNegativeSign = false ) : string | ||
ShowNegativeSign | bool | |
Результат | string |
public static TryParse ( string MoneyRepresentation, |
||
MoneyRepresentation | string | The money representation string, eg "1p1g", or "30s20c" |
Money | ||
Результат | bool |