Energy Core Library
Energy.Base.Money Struct Reference

Money class More...

Public Member Functions

 Money (decimal amount, Currency currency)
 
 Money (double amount, Currency currency)
 
Money Add (Money arg)
 
Money Subtract (Money arg)
 
override string ToString ()
 

Static Public Member Functions

static Money operator+ (Money m1, Money m2)
 
static Money operator- (Money m1, Money m2)
 

Properties

decimal Amount [get]
 Amount More...
 
Currency Currency [get]
 Currency More...
 

Detailed Description

Money class

Constructor & Destructor Documentation

◆ Money() [1/2]

Energy.Base.Money.Money ( decimal  amount,
Currency  currency 
)

◆ Money() [2/2]

Energy.Base.Money.Money ( double  amount,
Currency  currency 
)

Member Function Documentation

◆ Add()

Money Energy.Base.Money.Add ( Money  arg)

◆ operator+()

static Money Energy.Base.Money.operator+ ( Money  m1,
Money  m2 
)
static

◆ operator-()

static Money Energy.Base.Money.operator- ( Money  m1,
Money  m2 
)
static

◆ Subtract()

Money Energy.Base.Money.Subtract ( Money  arg)

◆ ToString()

override string Energy.Base.Money.ToString ( )

Property Documentation

◆ Amount

decimal Energy.Base.Money.Amount
get

Amount

◆ Currency

Currency Energy.Base.Money.Currency
get

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