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

A factory for creating Accounts.
파일 보기 프로젝트 열기: PaulStovell/trial-balance

공개 메소드들

메소드 설명
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.

메소드 상세

Create() 공개 정적인 메소드

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

Create() 공개 정적인 메소드

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