Beispiel #1
0
        public GymsCommand
        (
            DataAccess.Commands.IStateUpdateCommand stateUpdateCommand,
            DataAccess.Commands.IStatePopCommand statePopCommand,
            DataAccess.Commands.IStatePushCommand statePushCommand,
            Queries.StatePeakQuery statePeakQuery,

            IAddSpecialGymCommand addSpecialGymCommand,
            IDeleteSpecialGymCommand deleteSpecialGymCommand,
            IGetSpecialGymsForChatsQuery getSpecialGymsQuery,
            IGetGymsByChatQuery getGymsByChatQuery,
            IGetCurrentChatSettingsQuery getCurrentChatSettingsQuery

        )
            : base(stateUpdateCommand, statePushCommand, statePopCommand, statePeakQuery)
        {
            this.addSpecialGymCommand        = addSpecialGymCommand;
            this.deleteSpecialGymCommand     = deleteSpecialGymCommand;
            this.getSpecialGymsQuery         = getSpecialGymsQuery;
            this.getGymsByChatQuery          = getGymsByChatQuery;
            this.getCurrentChatSettingsQuery = getCurrentChatSettingsQuery;

            base.Steps.Add(0, this.Step0);

            base.Steps.Add(1, this.Step1);
        }
Beispiel #2
0
 public MembersAdded(
     IBotAddCommand addBotCommand,
     IUserAdd userAdd,
     IGetCurrentChatSettingsQuery getCurrentChatSettingsQuery,
     IAddChatCommand addChatCommand
     ) : base(addBotCommand, userAdd, getCurrentChatSettingsQuery, addChatCommand)
 {
 }
        //private readonly IConfigureUserCommand configureUserCommand;

        public StartCommand(
            IAddChatCommand addChatCommand,
            IGetCurrentChatSettingsQuery getCurrentChatSettingsQuery
            //IConfigureUserCommand configureUserCommand
            )
        {
            this.addChatCommand = addChatCommand;
            this.getCurrentChatSettingsQuery = getCurrentChatSettingsQuery;
            // this.configureUserCommand = configureUserCommand;
        }
        public CreateEventCommand
        (
            DataAccess.Commands.IStateUpdateCommand stateUpdateCommand,
            DataAccess.Commands.IStatePopCommand statePopCommand,
            DataAccess.Commands.IStatePushCommand statePushCommand,
            Queries.StatePeakQuery statePeakQuery,

            ISetChatForManualRaidAndInitializeCommand setChatForManualRaidCommand,
            IGetActiveChatsForUser getActiveChatsForUser,
            IGetCurrentManualRaidQuery getCurrentManualRaidQuery,
            IGetCurrentChatSettingsQuery getCurrentChatSettingsQuery,
            IGetGymsByChatQuery getGymsByChatQuery,
            ISetGymForManualRaidCommand setGymForManualRaidCommand,
            ISetTimeModeForManualRaidCommand setTimeModeForManualRaidCommand,
            ISetNowForManualRaidCommand setNowForManualRaidhCommand,
            ISetRaidLevelForManualRaidCommand setRaidLevelForManualRaidCommand,
            ISetTitleForManualRaidCommand setTitleForManualRaidCommand,
            ICreateManuelRaidCommand createManuelRaidCommand,
            IGetSpecialGymsForChatsQuery getSpecialGymsQuery,
            IGetPogoConfigurationQuery getPogoConfigurationQuery,
            IGetActiveGymsByChatQuery getActiveGymsByChatQuery,

            TelegramProxies.NimRaidBot nimRaidBot

        )
            : base(stateUpdateCommand, statePushCommand, statePopCommand, statePeakQuery,

                   getActiveChatsForUser,
                   setChatForManualRaidCommand,
                   getCurrentManualRaidQuery,
                   getActiveGymsByChatQuery,
                   getSpecialGymsQuery,
                   setGymForManualRaidCommand,
                   createManuelRaidCommand,
                   getPogoConfigurationQuery,

                   nimRaidBot
                   )
        {
            this.setTimeModeForManualRaidCommand  = setTimeModeForManualRaidCommand;
            this.setNowForManualRaidCommand       = setNowForManualRaidhCommand;
            this.setRaidLevelForManualRaidCommand = setRaidLevelForManualRaidCommand;
            this.setTitleForManualRaidCommand     = setTitleForManualRaidCommand;

            base.Steps.Add(0, this.Step0);

            base.Steps.Add(5, this.Step5);
            base.Steps.Add(6, this.Step6);

            base.Steps.Add(7, this.Step7);
            base.Steps.Add(8, this.Step8);

            base.Steps.Add(9, this.Step9);
            base.Steps.Add(10, this.Step10);
        }
 public MemberAdded(
     IBotAddCommand addBotCommand,
     Raid.IUserAdd userAdd,
     IGetCurrentChatSettingsQuery getCurrentChatSettingsQuery,
     IAddChatCommand addChatCommand
     )
 {
     this.addBotCommand = addBotCommand;
     this.userAdd       = userAdd;
     this.getCurrentChatSettingsQuery = getCurrentChatSettingsQuery;
     this.addChatCommand = addChatCommand;
 }