C# Class BudgetAnalyser.Engine.Ledger.LedgerTransaction

Show file Open project: Benrnz/BudgetAnalyser Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Returns a string that represents the current object.

Protected Methods

Method Description
LedgerTransaction ( ) : System

Initializes a new instance of the LedgerTransaction class.

LedgerTransaction ( System.Guid id ) : System

Initializes a new instance of the LedgerTransaction class.

Private Methods

Method Description
WithAmount ( decimal amount ) : LedgerTransaction
WithNarrative ( [ narrative ) : LedgerTransaction

Method Details

LedgerTransaction() protected method

Initializes a new instance of the LedgerTransaction class.
protected LedgerTransaction ( ) : System
return System

LedgerTransaction() protected method

Initializes a new instance of the LedgerTransaction class.
protected LedgerTransaction ( System.Guid id ) : System
id System.Guid
return System

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string