C# Class BudgetAnalyser.Engine.Budget.BudgetItem

A budget line in a budget. This can represent an expense or an income.
Inheritance: INotifyPropertyChanged
Show file Open project: Benrnz/BudgetAnalyser Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

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

GetHashCode ( ) : int

Returns a hash code for this instance.

operator ( ) : bool

Implements the operator ==. Delegates to Equals.

Protected Methods

Method Description
Equals ( [ other ) : bool

Returns true if the buckets are the same and the types are the same.

Private Methods

Method Description
EnsureNoRepeatedLastWord ( string sentence1, string sentence2 ) : string
OnBucketPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
OnPropertyChanged ( [ propertyName = null ) : void

Method Details

Equals() protected method

Returns true if the buckets are the same and the types are the same.
protected Equals ( [ other ) : bool
other [
return bool

Equals() public method

Determines whether the specified System.Object, is equal to this instance. Delegates to Equals(BudgetItem)
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

operator() public static method

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