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

Показать файл Открыть проект Примеры использования класса

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

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

Allows ledger bucket specific behaviour during reconciliation.

Equals ( object obj ) : bool

Determines whether the specified System.Object, is equal to this instance. Delegates to Equals(LedgerBucket)

GetHashCode ( ) : int

Returns a hash code for this instance.

ToString ( ) : string

Returns a string that represents the current object.

operator ( ) : bool

Implements the operator ==. Delegates to Equals.

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

Метод Описание
Equals ( [ other ) : bool

Returns true if the to ledger buckets are refering to the same bucket.

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 abstract ApplyReconciliationBehaviour ( [ transactions, System.DateTime reconciliationDate, decimal openingBalance ) : void
transactions [
reconciliationDate System.DateTime
openingBalance decimal
Результат void

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

Returns true if the to ledger buckets are refering to the same bucket.
protected Equals ( [ other ) : bool
other [
Результат bool

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

Determines whether the specified System.Object, is equal to this instance. Delegates to Equals(LedgerBucket)
public Equals ( object obj ) : bool
obj object The to compare with this instance.
Результат bool

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

Returns a hash code for this instance.
public GetHashCode ( ) : int
Результат int

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

Returns a string that represents the current object.
public ToString ( ) : string
Результат string

ValidateBucketSet() защищенный абстрактный Метод

Validates the bucket provided is valid for use with this LedgerBucket. There is an explicit relationship between BudgetBuckets and LedgerBuckets.
protected abstract ValidateBucketSet ( BudgetBucket bucket ) : void
bucket BudgetAnalyser.Engine.Budget.BudgetBucket
Результат void

operator() публичный статический Метод

Implements the operator ==. Delegates to Equals.
public static operator ( ) : bool
Результат bool