C# Class BudgetAnalyser.Engine.GlobalFilterCriteria

A set of criteria for filtering all budget data.
Inheritance: INotifyPropertyChanged, IModelValidate, IDataChangeDetection
Show file Open project: Benrnz/BudgetAnalyser Class Usage Examples

Public Methods

Method Description
GlobalFilterCriteria ( ) : System

Constucts a new instance of GlobalFilterCriteria

SignificantDataChangeHash ( ) : long

Calculates a hash that will represents a data state for this criteria. Different criteria, will result in a different hash.

Validate ( StringBuilder validationMessages ) : bool

Validate the instance and populate any warnings and errors into the validationMessages string builder.

Protected Methods

Method Description
OnPropertyChanged ( [ propertyName = null ) : void

Raise the property change event.

Private Methods

Method Description
CheckConsistency ( ) : void

Method Details

GlobalFilterCriteria() public method

Constucts a new instance of GlobalFilterCriteria
public GlobalFilterCriteria ( ) : System
return System

OnPropertyChanged() protected method

Raise the property change event.
protected OnPropertyChanged ( [ propertyName = null ) : void
propertyName [
return void

SignificantDataChangeHash() public method

Calculates a hash that will represents a data state for this criteria. Different criteria, will result in a different hash.
public SignificantDataChangeHash ( ) : long
return long

Validate() public method

Validate the instance and populate any warnings and errors into the validationMessages string builder.
public Validate ( StringBuilder validationMessages ) : bool
validationMessages StringBuilder A non-null string builder that will be appended to for any messages.
return bool