C# Class BudgetAnalyser.Engine.Ledger.LedgerBucket

Datei anzeigen Open project: Benrnz/BudgetAnalyser Class Usage Examples

Public Methods

Method Description
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.

Protected Methods

Method Description
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.

Method Details

ApplyReconciliationBehaviour() public abstract method

Allows ledger bucket specific behaviour during reconciliation.
public abstract ApplyReconciliationBehaviour ( [ transactions, System.DateTime reconciliationDate, decimal openingBalance ) : void
transactions [
reconciliationDate System.DateTime
openingBalance decimal
return void

Equals() protected method

Returns true if the to ledger buckets are refering to the same bucket.
protected Equals ( [ other ) : bool
other [
return bool

Equals() public method

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.
return bool

GetHashCode() public method

Returns a hash code for this instance.
public GetHashCode ( ) : int
return int

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string

ValidateBucketSet() protected abstract method

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
return void

operator() public static method

Implements the operator ==. Delegates to Equals.
public static operator ( ) : bool
return bool