Ejemplo n.º 1
0
 public CancelCommand(IBot bot,
                      IUserService userService,
                      IAccountAssemblingService accountAssemblingService,
                      IAccountUpdatingService accountUpdatingService,
                      IPasswordDecryptionService passwordDecryptionService,
                      IPasswordEncryptionService passwordEncryptionService)
     : base(bot)
 {
     this.userService = userService;
     this.accountAssemblingService  = accountAssemblingService;
     this.accountUpdatingService    = accountUpdatingService;
     this.passwordDecryptionService = passwordDecryptionService;
     this.passwordEncryptionService = passwordEncryptionService;
 }
Ejemplo n.º 2
0
 public AddAccountCommand(IBot bot, IAccountService accountService,
                          IUserService userService, IAccountAssemblingService accountAssemblingService,
                          IBotUIService botUIService) : base(bot)
     => (this.accountService, this.userService, this.accountAssemblingService, this.botUIService)