C# 클래스 BudgetAnalyser.Engine.Budget.BudgetBucket

상속: IModelValidate, INotifyPropertyChanged, IComparable
파일 보기 프로젝트 열기: Benrnz/BudgetAnalyser 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
BudgetBucket ( ) : System

Initializes a new instance of the BudgetBucket class.

BudgetBucket ( string code, string name ) : System

Initializes a new instance of the BudgetBucket class.

비공개 메소드들

메소드 설명
ArgumentNullException ( nameof obj1 ) : System

메소드 상세

BudgetBucket() 보호된 메소드

Initializes a new instance of the BudgetBucket class.
protected BudgetBucket ( ) : System
리턴 System

BudgetBucket() 보호된 메소드

Initializes a new instance of the BudgetBucket class.
///
protected BudgetBucket ( string code, string name ) : System
code string The code.
name string The name.
리턴 System

CompareTo() 공개 메소드

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.
public CompareTo ( object obj ) : int
obj object
리턴 int

Equals() 공개 메소드

Determines whether the specified System.Object, is equal to this instance. Comparisons are performed using the Code Property.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
리턴 bool

GetHashCode() 공개 메소드

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

Validate() 공개 메소드

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

operator() 공개 정적인 메소드

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