C# Class BudgetAnalyser.Engine.Budget.BudgetCurrencyContext

A transient wrapper class to indicate a budget's active state in relation to other budgets in the collection. This class will tell you if a budget is active, future dated, or has past and is archived.
Datei anzeigen Open project: Benrnz/BudgetAnalyser Class Usage Examples

Public Methods

Method Description
BudgetCurrencyContext ( [ budgets, [ budget ) : System

Creates a new instance of the BudgetCurrencyContext class.

Method Details

BudgetCurrencyContext() public method

Creates a new instance of the BudgetCurrencyContext class.
public BudgetCurrencyContext ( [ budgets, [ budget ) : System
budgets [ The collection of available budgets loaded.
budget [ /// The currently selected budget. This isn't necessarily the current one compared with today's date. /// Can be any in the collection. ///
return System