public DropboxServerSyncProvider(IConfigurationRetriever configurationRetriever, IDropboxApi dropboxApi, IDropboxContentApi dropboxContentApi, ILogManager logManager) { _configurationRetriever = configurationRetriever; _dropboxApi = dropboxApi; _dropboxContentApi = dropboxContentApi; _logger = logManager.GetLogger("Dropbox"); }
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; }