C# Класс BudgetAnalyser.Engine.Ledger.SurplusLedger

A special system ledger bucket to represent surplus funds available for surplus spending in the Ledger Book.
Наследование: LedgerBucket
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ApplyReconciliationBehaviour ( IList transactions, System.DateTime reconciliationDate, decimal openingBalance ) : void

Allows ledger bucket specific behaviour during reconciliation.

SurplusLedger ( ) : System

Initializes a new instance of the SurplusLedger class.

Защищенные методы

Метод Описание
ValidateBucketSet ( BudgetBucket bucket ) : void

Validates the bucket provided is valid for use with this LedgerBucket. There is an explicit relationship between BudgetBuckets and LedgerBuckets.

Описание методов

ApplyReconciliationBehaviour() публичный Метод

Allows ledger bucket specific behaviour during reconciliation.
public ApplyReconciliationBehaviour ( IList transactions, System.DateTime reconciliationDate, decimal openingBalance ) : void
transactions IList
reconciliationDate System.DateTime
openingBalance decimal
Результат void

SurplusLedger() публичный Метод

Initializes a new instance of the SurplusLedger class.
public SurplusLedger ( ) : System
Результат System

ValidateBucketSet() защищенный Метод

Validates the bucket provided is valid for use with this LedgerBucket. There is an explicit relationship between BudgetBuckets and LedgerBuckets.
/// Invalid budget bucket used, only the Surplus bucket can be used with an /// instance of Surplus-Ledger. ///
protected ValidateBucketSet ( BudgetBucket bucket ) : void
bucket BudgetAnalyser.Engine.Budget.BudgetBucket
Результат void