C# Class PaulStovell.TrialBalance.DomainModel.AccountFactory

A factory for creating Accounts.
ファイルを表示 Open project: PaulStovell/trial-balance

Public Methods

Method Description
Create ( AccountType accountType ) : Account

Creates an account given the T:AccountType to create.

Create ( string accountType ) : Account

Creates an account given the name of an account type.

Method Details

Create() public static method

Creates an account given the T:AccountType to create.
public static Create ( AccountType accountType ) : Account
accountType AccountType The of the account to create.
return Account

Create() public static method

Creates an account given the name of an account type.
public static Create ( string accountType ) : Account
accountType string The account type to create.
return Account