ATAS
Loading...
Searching...
No Matches
ATAS.DataFeedsCore.Money Struct Reference

Represents decimal amount in some currency. More...

Inheritance diagram for ATAS.DataFeedsCore.Money:
[legend]
Collaboration diagram for ATAS.DataFeedsCore.Money:
[legend]

Public Member Functions

 Money ()
 
 Money (decimal value, CurrencyInfo currency)
 
override string ToString ()
 
string ToString (string? format, IFormatProvider? formatProvider)
 

Static Public Member Functions

static Money operator- (Money m1)
 
static Money operator+ (Money m1, Money m2)
 
static Money operator- (Money m1, Money m2)
 
static Money operator+ (Money m1, decimal m2)
 
static Money operator- (Money m1, decimal m2)
 
static Money operator* (Money m1, decimal m2)
 
static Money operator/ (Money m1, decimal m2)
 
static implicit operator decimal (Money m)
 

Properties

decimal Value [get]
 
string Currency [get]
 
CurrencyInfo CurrencyInfo [get]
 

Detailed Description

Represents decimal amount in some currency.

Constructor & Destructor Documentation

◆ Money() [1/2]

ATAS.DataFeedsCore.Money.Money ( )

◆ Money() [2/2]

ATAS.DataFeedsCore.Money.Money ( decimal  value,
CurrencyInfo  currency 
)

Member Function Documentation

◆ operator decimal()

static implicit ATAS.DataFeedsCore.Money.operator decimal ( Money  m)
static

◆ operator*()

static Money ATAS.DataFeedsCore.Money.operator* ( Money  m1,
decimal  m2 
)
static

◆ operator+() [1/2]

static Money ATAS.DataFeedsCore.Money.operator+ ( Money  m1,
decimal  m2 
)
static

◆ operator+() [2/2]

static Money ATAS.DataFeedsCore.Money.operator+ ( Money  m1,
Money  m2 
)
static

◆ operator-() [1/3]

static Money ATAS.DataFeedsCore.Money.operator- ( Money  m1)
static

◆ operator-() [2/3]

static Money ATAS.DataFeedsCore.Money.operator- ( Money  m1,
decimal  m2 
)
static

◆ operator-() [3/3]

static Money ATAS.DataFeedsCore.Money.operator- ( Money  m1,
Money  m2 
)
static

◆ operator/()

static Money ATAS.DataFeedsCore.Money.operator/ ( Money  m1,
decimal  m2 
)
static

◆ ToString() [1/2]

override string ATAS.DataFeedsCore.Money.ToString ( )

◆ ToString() [2/2]

string ATAS.DataFeedsCore.Money.ToString ( string?  format,
IFormatProvider?  formatProvider 
)

Property Documentation

◆ Currency

string ATAS.DataFeedsCore.Money.Currency
get

◆ CurrencyInfo

CurrencyInfo ATAS.DataFeedsCore.Money.CurrencyInfo
get

◆ Value

decimal ATAS.DataFeedsCore.Money.Value
get

The documentation for this struct was generated from the following file: