C# Class BudgetAnalyser.Engine.Ledger.LedgerBucket

Afficher le fichier Open project: Benrnz/BudgetAnalyser Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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

Equals() protected méthode

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

Equals() public méthode

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.
Résultat bool

GetHashCode() public méthode

Returns a hash code for this instance.
public GetHashCode ( ) : int
Résultat int

ToString() public méthode

Returns a string that represents the current object.
public ToString ( ) : string
Résultat string

ValidateBucketSet() protected abstract méthode

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
Résultat void

operator() public static méthode

Implements the operator ==. Delegates to Equals.
public static operator ( ) : bool
Résultat bool