Example #1
0
 public OwnerCommand(
     IGetActivePollByMessageId getActivePollByMessageId,
     IGetRaidByIdQuery getRaidByIdQuery,
     IGetUserByIdQuery getUserByIdQuery
     )
 {
     this.getActivePollByMessageId = getActivePollByMessageId;
     this.getRaidByIdQuery         = getRaidByIdQuery;
     this.getUserByIdQuery         = getUserByIdQuery;
 }
        public Announcer(
            TelegramProxies.NimRaidBot proxy,
            TelegramProxies.MinunBot minunBot,
            IGetNextNewRaidQuery getNextNewRaidQuery,
            IMarkEventAsProcessedQuery markAsProcessedQuery,
            IMarkEventAsProcessingQuery markAsProcessingQuery,

            DataAccess.Queries.Raid.IGetActivePogoGroups activeUsers,
            IGetSpecialGymsForChatsQuery getSpecialGymsForChatsQuery,
            Commands.Raid.ICreatePollCommand pollCommand,
            Commands.Raid.ICreatePollText createPollText

            , DataAccess.Queries.PoGo.IPollVotesUsers pollVotesUsers
            , DataAccess.Queries.Raid.IGetActivePollByRaidId getActivePollByRaidId
            , DataAccess.Queries.Raid.IGetRaidTimeOffsetsQuery getRaidTimeOffsetsQuery

            , IGetNextPollToProcessQuery getNextPollToProcessQuery,
            IMarkPollAsProcessedQuery markPollAsProcessedQuery,
            IMarkPollAsProcessingQuery markPollAsProcessingQuery,
            IGetRaidByIdQuery getRaidByIdQuery,
            DataAccess.Queries.Pokes.IGetPokesForChatQuery getPokesForChatQuery,
            IGetRaidBossPreferencesAllQuery getRaidBossPreferencesQuery,
            DataAccess.Queries.Location.IGetCurrentNotificationsQuery getCurrentNotificationsQuery,
            IDeactiveMinunUserCommand deactiveMinunUserCommand
            )
        {
            this.proxy                 = proxy;
            this.minunBot              = minunBot;
            this.getNextNewRaidQuery   = getNextNewRaidQuery;
            this.markAsProcessedQuery  = markAsProcessedQuery;
            this.markAsProcessingQuery = markAsProcessingQuery;

            this.activeUsers = activeUsers;

            this.pollCommand = pollCommand;

            this.createPollText = createPollText;

            this.pollVotesUsers          = pollVotesUsers;
            this.getActivePollByRaidId   = getActivePollByRaidId;
            this.getRaidTimeOffsetsQuery = getRaidTimeOffsetsQuery;

            this.getNextPollToProcessQuery = getNextPollToProcessQuery;
            this.markPollAsProcessedQuery  = markPollAsProcessedQuery;
            this.markPollAsProcessingQuery = markPollAsProcessingQuery;
            this.getRaidByIdQuery          = getRaidByIdQuery;

            this.getSpecialGymsForChatsQuery  = getSpecialGymsForChatsQuery;
            this.getPokesForChatQuery         = getPokesForChatQuery;
            this.getRaidBossPreferencesQuery  = getRaidBossPreferencesQuery;
            this.getCurrentNotificationsQuery = getCurrentNotificationsQuery;
            this.deactiveMinunUserCommand     = deactiveMinunUserCommand;
        }
 public UpdateRaidBossCommand(
     IGetActivePollByMessageId getActivePollByMessageId,
     IGetRaidByIdQuery getRaidByIdQuery,
     IGetUserByIdQuery getUserByIdQuery,
     IUpdateRaidsCommand updateRaidsCommand
     )
 {
     this.getActivePollByMessageId = getActivePollByMessageId;
     this.getRaidByIdQuery         = getRaidByIdQuery;
     this.getUserByIdQuery         = getUserByIdQuery;
     this.updateRaidsCommand       = updateRaidsCommand;
 }