C# Class BudgetAnalyser.Engine.Budget.BudgetModel

A Budget model that contains all budgeting information. A budget is effective for a period of time after the EffectiveFrom.
Inheritance: INotifyPropertyChanged
Show file Open project: Benrnz/BudgetAnalyser Class Usage Examples

Public Methods

Method Description
BudgetModel ( ) : System

Initializes a new instance of the BudgetModel class.

Protected Methods

Method Description
Initialise ( ) : void

Initialises this instance ready for use. This should be done after loading the model from persistence.

Private Methods

Method Description
OnPropertyChanged ( [ propertyName = null ) : void
Update ( IEnumerable incomes, IEnumerable expenses ) : void
Validate ( StringBuilder validationMessages ) : bool

Method Details

BudgetModel() public method

Initializes a new instance of the BudgetModel class.
public BudgetModel ( ) : System
return System

Initialise() protected method

Initialises this instance ready for use. This should be done after loading the model from persistence.
The model is invalid. + builder
protected Initialise ( ) : void
return void