public MandrillNotifierEmailer(IUrlConstructor urlConstructor, ISettingService settingService)
        {
            _setting= settingService.GetCurrentSetting();
            _urlConstructor = urlConstructor;

            if (_setting.UseMandrill)
            {
                _api = new MandrillApi(_setting.MandrillApiKey);
            }
        }
 public AppFlowMetadata(ISettingService settingService)
 {
     _setting = settingService.GetCurrentSetting();
     _flow = new GoogleAuthorizationCodeFlow(
         new GoogleAuthorizationCodeFlow.Initializer
             {
                 ClientSecrets =
                     new ClientSecrets
                         {
                             ClientId = _setting.GoogleClientId,
                             ClientSecret = _setting.GoogleClientSecret
                         },
                 Scopes = new[] { DriveService.Scope.Drive },
                 DataStore = MemoryDataStore.Instance
             });
 }
        public GoogleDriveFolderCreator(ISettingService settingService)
        {
            _setting = settingService.GetCurrentSetting();

            EnsureService();
        }