コード例 #1
0
 public void OpenAccount(string owner, AccountType type, IAccountNumberCreateService creator)
 {
     _accounts.Add(new Account(creator.GenerateNewAccountNumber(), owner, type));
 }