Esempio n. 1
0
 public EventCommand(
     IChatRepository chatRepository,
     ICreateEventRepository createEventRepository,
     IAuthRepository authRepository,
     IBotWebApiService botWebApiService,
     IBotService botService) : base(botService)
 {
     this.authRepository        = authRepository;
     this.chatRepository        = chatRepository;
     this.createEventRepository = createEventRepository;
     this.botWebApiService      = botWebApiService;
 }
Esempio n. 2
0
 public AuthorizationCommand(
     IAuthorizationService authorizationService,
     IChatRepository chatRepository,
     IBotService botService,
     IAuthRepository authRepository,
     AllCommands allCommands,
     IBotWebApiService botWebApiService) : base(botService)
 {
     this.authorizationService = authorizationService;
     this.chatRepository       = chatRepository;
     this.authRepository       = authRepository;
     this.allCommands          = allCommands;
     this.botWebApiService     = botWebApiService;
 }
Esempio n. 3
0
 public StartProcessCommand(
     IChatRepository chatRepository,
     IStartProcessService startProcessService,
     IAuthRepository authRepository,
     IStartProcessRepository startProcessRepository,
     IBotService botService,
     IBotWebApiService botWebApiService,
     IProcessContextRepository processContextRepository) : base(botService)
 {
     this.chatRepository           = chatRepository;
     this.startProcessService      = startProcessService;
     this.authRepository           = authRepository;
     this.startProcessRepository   = startProcessRepository;
     this.botWebApiService         = botWebApiService;
     this.processContextRepository = processContextRepository;
     dict = new Dictionary <long, Dictionary <ContextProcess, object> >();
 }