Beispiel #1
0
 public DropboxServerSyncProvider(IConfigurationRetriever configurationRetriever, IDropboxApi dropboxApi, IDropboxContentApi dropboxContentApi, ILogManager logManager)
 {
     _configurationRetriever = configurationRetriever;
     _dropboxApi             = dropboxApi;
     _dropboxContentApi      = dropboxContentApi;
     _logger = logManager.GetLogger("Dropbox");
 }
 public DropboxServerSyncProvider(IConfigurationRetriever configurationRetriever, IDropboxApi dropboxApi, IDropboxContentApi dropboxContentApi, ILogManager logManager)
 {
     _configurationRetriever = configurationRetriever;
     _dropboxApi = dropboxApi;
     _dropboxContentApi = dropboxContentApi;
     _logger = logManager.GetLogger("Dropbox");
 }
Beispiel #3
0
 public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer, IHttpClient httpClient, IJsonSerializer jsonSerializer, IApplicationHost applicationHost)
     : base(applicationPaths, xmlSerializer)
 {
     Instance          = this;
     DropboxApi        = new DropboxApi(httpClient, jsonSerializer, applicationHost);
     DropboxContentApi = new DropboxContentApi(httpClient, jsonSerializer, applicationHost);
 }
 public DropboxRestfulService(IConfigurationRetriever configurationRetriever, IDropboxApi dropboxApi)
 {
     _configurationRetriever = configurationRetriever;
     _dropboxApi             = dropboxApi;
 }
 public DropboxRestfulService(IConfigurationRetriever configurationRetriever, IDropboxApi dropboxApi)
 {
     _configurationRetriever = configurationRetriever;
     _dropboxApi = dropboxApi;
 }