C# 클래스 PaulStovell.TrialBalance.DomainModel.Account

An abstract class that represents an account. There are five concrete account types - Assets, Liabilities, Expenses, Revenue and Equity.
상속: AccountingDomainObject, IComparable
파일 보기 프로젝트 열기: PaulStovell/trial-balance 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AccountIDPropertyChangedEventArgs System.ComponentModel.PropertyChangedEventArgs
DescriptionPropertyChangedEventArgs System.ComponentModel.PropertyChangedEventArgs
NamePropertyChangedEventArgs System.ComponentModel.PropertyChangedEventArgs

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CompareTo ( object obj ) : int

Compares a given account with the current account.

CopyTo ( object targetObject ) : void

Copies the properties of this object to those of a new object.

ToString ( ) : string

Gets a unique string representation of this account.

보호된 메소드들

메소드 설명
Account ( AccountType accountType, BalanceType defaultBalanceType ) : System

Internal constructor.

CreateRules ( ) : List

Override this method to add extra validation rules to this account.

메소드 상세

Account() 보호된 메소드

Internal constructor.
protected Account ( AccountType accountType, BalanceType defaultBalanceType ) : System
accountType AccountType
defaultBalanceType BalanceType
리턴 System

CompareTo() 공개 메소드

Compares a given account with the current account.
public CompareTo ( object obj ) : int
obj object The account to compare with.
리턴 int

CopyTo() 공개 메소드

Copies the properties of this object to those of a new object.
public CopyTo ( object targetObject ) : void
targetObject object The object to copy the properties to.
리턴 void

CreateRules() 보호된 메소드

Override this method to add extra validation rules to this account.
protected CreateRules ( ) : List
리턴 List

ToString() 공개 메소드

Gets a unique string representation of this account.
public ToString ( ) : string
리턴 string

프로퍼티 상세

AccountIDPropertyChangedEventArgs 공개적으로 정적으로 프로퍼티

Raised by the PropertyChanged event when the AccountID property changes.
public static PropertyChangedEventArgs,System.ComponentModel AccountIDPropertyChangedEventArgs
리턴 System.ComponentModel.PropertyChangedEventArgs

DescriptionPropertyChangedEventArgs 공개적으로 정적으로 프로퍼티

Raised by the PropertyChanged event when the Description property changes.
public static PropertyChangedEventArgs,System.ComponentModel DescriptionPropertyChangedEventArgs
리턴 System.ComponentModel.PropertyChangedEventArgs

NamePropertyChangedEventArgs 공개적으로 정적으로 프로퍼티

Raised by the PropertyChanged event when the Name property changes.
public static PropertyChangedEventArgs,System.ComponentModel NamePropertyChangedEventArgs
리턴 System.ComponentModel.PropertyChangedEventArgs