示例#1
0
 public AssignmentFileMetadataService(IFlexClient flexClient, IConfigurationService configurationService, ILoggerService loggerService, IFileService fileService, IHashValidator hashValidator)
 {
     this._flexClient           = flexClient;
     this._configurationService = configurationService;
     this._loggerService        = loggerService;
     this._fileService          = fileService;
     this._hashValidator        = hashValidator;
 }
示例#2
0
 public DecryptionService(IFlexClient flexClient, IFileService fileService, IConfigurationService configurationService, IHashValidator hashValidator, ILoggerService loggerService, IFileDecrypter fileDecrypter)
 {
     this._flexClient           = flexClient;
     this._fileService          = fileService;
     this._configurationService = configurationService;
     this._hashValidator        = hashValidator;
     this._loggerService        = loggerService;
     this._fileDecrypter        = fileDecrypter;
 }
示例#3
0
 public HttpClientWapper(IHashValidator validator)
 {
     _validator  = validator;
     _httpClient = new HttpClient();
     _httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue(DefaultAccept));
     _httpClient.DefaultRequestHeaders.Add("KeepAlive", "true");
     _httpClient.Timeout = TimeSpan.FromMinutes(10);
     this.TenantId       = "0";
 }
示例#4
0
 public AssignmentFileStorageService(IDirectoryService directoryService, IConfigurationService configurationService, IWebClientService webClientService, IFileService fileService, IHashValidator hashValidator)
 {
     this._directoryService     = directoryService;
     this._configurationService = configurationService;
     this._webClientService     = webClientService;
     this._fileService          = fileService;
     this._hashValidator        = hashValidator;
 }