Пример #1
0
 public TutorialServer(GlobalUserDataProvider gudp, VerificationProvider botVer, ProblemBoardService pbService, ProblemProvider problemProvider, ILocalization lang)
 {
     _gudp            = gudp;
     _botVer          = botVer;
     _pbService       = pbService;
     _problemProvider = problemProvider;
     _lang            = lang;
 }
Пример #2
0
        public DiggingJobProvider(IDataStorage dataStorage, GlobalUserDataProvider userProvider, DiscordSocketClient client)
        {
            _client = client;
            _ds     = dataStorage;
            _gudp   = userProvider;

            try
            {
                _activeJobs = dataStorage.Get <List <DiggingJob> >(DataStorageKey);
            }
            catch (DataStorageKeyDoesNotExistException)
            {
                _activeJobs = new List <DiggingJob>();
                dataStorage.Store(_activeJobs, DataStorageKey);
            }
        }
Пример #3
0
 public Debug(GlobalUserDataProvider gudp, VerificationProvider botVer, DiscordSocketClient client)
 {
     _gudp   = gudp;
     _botVer = botVer;
     _client = client;
 }
Пример #4
0
 public RpgStatus(GlobalUserDataProvider userProvider, RpgRepository rpgItemRepository, DiggingJobProvider digJobProv)
 {
     _userProvider      = userProvider;
     _rpgItemRepository = rpgItemRepository;
     _djp = digJobProv;
 }
Пример #5
0
 public Privacy(ILocalization lang, GlobalUserDataProvider gudp)
 {
     _lang = lang;
     _gudp = gudp;
 }