C# Class BudgetAnalyser.Engine.Widgets.SavingsGoalWidget

A savings goal widget to monitor a SavingsCommitmentBucket
Inheritance: ProgressBarWidget
Mostra file Open project: Benrnz/BudgetAnalyser

Public Methods

Method Description
SavingsGoalWidget ( ) : System

Initializes a new instance of the SavingsGoalWidget class.

Update ( ) : void

Updates the widget with new input.

Private Methods

Method Description
CalculateSavingsToDateWithTrackedLedgers ( StatementModel statement, LedgerBook ledger ) : decimal
CalculateTrackedSavingLedgersContributions ( StatementModel statement, IEnumerable trackedSavingsLedgers ) : decimal
SumDebitSavingsTransactions ( StatementModel statement ) : decimal

Method Details

SavingsGoalWidget() public method

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

Update() public method

Updates the widget with new input.
public Update ( ) : void
return void