Esempio n. 1
0
 public LoginInteractor(ILoginValidator validator, AccountGateway accountGateway, IPlayerGateway playerGateway, ISessionGateway sessionGateway, ISessionTokenCreator <string> sessionCreator)
 {
     Validator      = validator;
     AccountGateway = accountGateway;
     PlayerGateway  = playerGateway;
     SessionGateway = sessionGateway;
     SessionCreator = sessionCreator;
 }
Esempio n. 2
0
 public CreateGameInteractor(ICreateGameValidator validator, ISessionGateway sessionGateway, IGameGateway gameGateway)
 {
     Validator      = validator;
     SessionGateway = sessionGateway;
     GameGateway    = gameGateway;
 }