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;
 }
Example #2
0
 public AddAccountCommand(IBot bot, IAccountService accountService,
                          IUserService userService, IAccountAssemblingService accountAssemblingService,
                          IBotUIService botUIService) : base(bot)
     => (this.accountService, this.userService, this.accountAssemblingService, this.botUIService)