C# Class PaulStovell.TrialBalance.DomainModel.Account

An abstract class that represents an account. There are five concrete account types - Assets, Liabilities, Expenses, Revenue and Equity.
Inheritance: AccountingDomainObject, IComparable
Afficher le fichier Open project: PaulStovell/trial-balance Class Usage Examples

Méthodes publiques

Свойство Type Description
AccountIDPropertyChangedEventArgs System.ComponentModel.PropertyChangedEventArgs
DescriptionPropertyChangedEventArgs System.ComponentModel.PropertyChangedEventArgs
NamePropertyChangedEventArgs System.ComponentModel.PropertyChangedEventArgs

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
Account ( AccountType accountType, BalanceType defaultBalanceType ) : System

Internal constructor.

CreateRules ( ) : List

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

Method Details

Account() protected méthode

Internal constructor.
protected Account ( AccountType accountType, BalanceType defaultBalanceType ) : System
accountType AccountType
defaultBalanceType BalanceType
Résultat System

CompareTo() public méthode

Compares a given account with the current account.
public CompareTo ( object obj ) : int
obj object The account to compare with.
Résultat int

CopyTo() public méthode

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.
Résultat void

CreateRules() protected méthode

Override this method to add extra validation rules to this account.
protected CreateRules ( ) : List
Résultat List

ToString() public méthode

Gets a unique string representation of this account.
public ToString ( ) : string
Résultat string

Property Details

AccountIDPropertyChangedEventArgs public_oe static_oe property

Raised by the PropertyChanged event when the AccountID property changes.
public static PropertyChangedEventArgs,System.ComponentModel AccountIDPropertyChangedEventArgs
Résultat System.ComponentModel.PropertyChangedEventArgs

DescriptionPropertyChangedEventArgs public_oe static_oe property

Raised by the PropertyChanged event when the Description property changes.
public static PropertyChangedEventArgs,System.ComponentModel DescriptionPropertyChangedEventArgs
Résultat System.ComponentModel.PropertyChangedEventArgs

NamePropertyChangedEventArgs public_oe static_oe property

Raised by the PropertyChanged event when the Name property changes.
public static PropertyChangedEventArgs,System.ComponentModel NamePropertyChangedEventArgs
Résultat System.ComponentModel.PropertyChangedEventArgs