C# Class HermaFx.Globalization.Currency

显示文件 Open project: evicertia/HermaFx

Public Methods

Method Description
Currency ( string id, string symbol, bool symbolBeforeValue, Func name, string localName ) : System
Format ( IFormatProvider provider, decimal amount, bool hideSymbol = false ) : string
Format ( IFormatProvider provider, double amount, bool hideSymbol = false ) : string
Format ( IFormatProvider provider, int amount, bool hideSymbol = false ) : string
Format ( IFormatProvider provider, long amount, bool hideSymbol = false ) : string
Format ( IFormatProvider provider, short amount, bool hideSymbol = false ) : string
Format ( IFormatProvider provider, uint amount, bool hideSymbol = false ) : string
Format ( IFormatProvider provider, ulong amount, bool hideSymbol = false ) : string
Format ( IFormatProvider provider, ushort amount, bool hideSymbol = false ) : string
Format ( decimal amount, bool hideSymbol = false ) : string
Format ( double amount, bool hideSymbol = false ) : string
Format ( int amount, bool hideSymbol = false ) : string
Format ( long amount, bool hideSymbol = false ) : string
Format ( short amount, bool hideSymbol = false ) : string
Format ( uint amount, bool hideSymbol = false ) : string
Format ( ulong amount, bool hideSymbol = false ) : string
Format ( ushort amount, bool hideSymbol = false ) : string

Private Methods

Method Description
FormatInternal ( IFormatProvider provider, decimal amount, bool hideSymbol ) : string
GetNumberFormatInfo ( ) : NumberFormatInfo

Method Details

Currency() public method

public Currency ( string id, string symbol, bool symbolBeforeValue, Func name, string localName ) : System
id string
symbol string
symbolBeforeValue bool
name Func
localName string
return System

Format() public method

public Format ( IFormatProvider provider, decimal amount, bool hideSymbol = false ) : string
provider IFormatProvider
amount decimal
hideSymbol bool
return string

Format() public method

public Format ( IFormatProvider provider, double amount, bool hideSymbol = false ) : string
provider IFormatProvider
amount double
hideSymbol bool
return string

Format() public method

public Format ( IFormatProvider provider, int amount, bool hideSymbol = false ) : string
provider IFormatProvider
amount int
hideSymbol bool
return string

Format() public method

public Format ( IFormatProvider provider, long amount, bool hideSymbol = false ) : string
provider IFormatProvider
amount long
hideSymbol bool
return string

Format() public method

public Format ( IFormatProvider provider, short amount, bool hideSymbol = false ) : string
provider IFormatProvider
amount short
hideSymbol bool
return string

Format() public method

public Format ( IFormatProvider provider, uint amount, bool hideSymbol = false ) : string
provider IFormatProvider
amount uint
hideSymbol bool
return string

Format() public method

public Format ( IFormatProvider provider, ulong amount, bool hideSymbol = false ) : string
provider IFormatProvider
amount ulong
hideSymbol bool
return string

Format() public method

public Format ( IFormatProvider provider, ushort amount, bool hideSymbol = false ) : string
provider IFormatProvider
amount ushort
hideSymbol bool
return string

Format() public method

public Format ( decimal amount, bool hideSymbol = false ) : string
amount decimal
hideSymbol bool
return string

Format() public method

public Format ( double amount, bool hideSymbol = false ) : string
amount double
hideSymbol bool
return string

Format() public method

public Format ( int amount, bool hideSymbol = false ) : string
amount int
hideSymbol bool
return string

Format() public method

public Format ( long amount, bool hideSymbol = false ) : string
amount long
hideSymbol bool
return string

Format() public method

public Format ( short amount, bool hideSymbol = false ) : string
amount short
hideSymbol bool
return string

Format() public method

public Format ( uint amount, bool hideSymbol = false ) : string
amount uint
hideSymbol bool
return string

Format() public method

public Format ( ulong amount, bool hideSymbol = false ) : string
amount ulong
hideSymbol bool
return string

Format() public method

public Format ( ushort amount, bool hideSymbol = false ) : string
amount ushort
hideSymbol bool
return string