Method | Description | |
---|---|---|
CompareTo ( object obj ) : int |
Compares two BudgetBucket instances and returns an int. If the value is less than zero the first operand is less than the second. Comparisions are performed using the Code property which uniquely identifies a bucket.
|
|
Equals ( object obj ) : bool |
Determines whether the specified System.Object, is equal to this instance. Comparisons are performed using the Code Property.
|
|
GetHashCode ( ) : int |
Returns a hash code for this instance.
|
|
Validate ( [ validationMessages ) : bool |
Validate the instance and populate any warnings and errors into the validationMessages string builder.
|
|
operator ( ) : bool |
Implements the operator ==. Delegates to Equals.
|
Method | Description | |
---|---|---|
BudgetBucket ( ) : System |
Initializes a new instance of the BudgetBucket class.
|
|
BudgetBucket ( string code, string name ) : System |
Initializes a new instance of the BudgetBucket class.
|
Method | Description | |
---|---|---|
ArgumentNullException ( nameof obj1 ) : System |
protected BudgetBucket ( string code, string name ) : System | ||
code | string | The code. |
name | string | The name. |
return | System |
public Equals ( object obj ) : bool | ||
obj | object | The |
return | bool |
public Validate ( [ validationMessages ) : bool | ||
validationMessages | [ | A non-null string builder that will be appended to for any messages. |
return | bool |