C# Class PaulStovell.TrialBalance.DomainModel.AccountFactory

A factory for creating Accounts.
Afficher le fichier Open project: PaulStovell/trial-balance

Méthodes publiques

Méthode 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 méthode

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

Create() public static méthode

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