コード例 #1
0
 public void SetupWiringAndCreateRepositoryAndScope()
 {
     _repository = Container.Resolve <IAccountRepository>();
     _duplicateAccountChecker = Container.Resolve <IDuplicateAccountChecker>();
     _registerAccountScenario = new RegisterAccountScenario(Container);
 }
コード例 #2
0
 public void RegisterAccount()
 {
     RegisterAccountScenario = new RegisterAccountScenario(Container);
     RegisteredAccount       = RegisterAccountScenario.Execute();
 }
コード例 #3
0
 public void RegisterAccount()
 {
     _registerAccountScenario = new RegisterAccountScenario(Container);
     _account = _registerAccountScenario.Execute();
     _changePasswordScenario = new ChangePasswordScenario(Container);
 }