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
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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