public Task UploadFile(string sourcePath, string sourceFilename, string sasUri, string contentType, bool append = false) { return(InnerService.UploadFile(sourcePath, sourceFilename, sasUri, contentType, append)); }
public void deactivates_on_stop() { var inner = new InnerService(); new BottleService(inner, new PackageLog()).Stop(); inner.Activated.ShouldBeFalse(); inner.Deactivated.ShouldBeTrue(); }
public void deactivates_on_stop() { var inner = new InnerService(); new BottleService(inner, new PackageLog()).Stop(); inner.Activated.ShouldBeFalse(); inner.Deactivated.ShouldBeTrue(); }
public Task UploadFile(string sourcePath, string sourceFilename, string containerName, string targetFilename, string contentType, bool append = false) { return(InnerService.UploadFile(sourcePath, sourceFilename, containerName, targetFilename, contentType, append)); }
/// <summary> /// 检测指定的插件服务运行状态 /// </summary> /// <param name="service">内置插件服务类型</param> /// <returns>检查结果</returns> public ServiceState GetServiceState(InnerService service) { return GetServiceState(ServiceManager.InnerServiceTypeList[service]); }
public Task TruncateFile(string sourcePath, string sourceFilename, int maxRows) { return(InnerService.TruncateFile(sourceFilename, sourceFilename, maxRows)); }
public Task RemoveFile(string sourcePath, string sourceFilename) { return(InnerService.RemoveFile(sourcePath, sourceFilename)); }
public Task WriteFile(string sourcePath, string sourceFilename, [FromBody] byte[] fileContent, bool append) { return(InnerService.WriteFile(sourcePath, sourceFilename, fileContent, append)); }
public Task <string[]> ListFiles(string sourcePath) { return(InnerService.ListFiles(sourcePath)); }
public Task <byte[]> GetFile(string sourcePath, string sourceFilename) { return(InnerService.GetFile(sourcePath, sourceFilename)); }
public Task DownloadFile(string targetPath, string targetFilename, string sasUri, bool append = false) { return(InnerService.DownloadFile(targetPath, targetFilename, sasUri, append)); }
public Task DownloadFile(string targetPath, string targetFilename, string containerName, string filename, bool append = false) { return(InnerService.DownloadFile(targetPath, targetFilename, containerName, filename, append)); }
/// <summary> /// 检测指定的插件服务运行状态 /// </summary> /// <param name="service">内置插件服务类型</param> /// <returns>检查结果</returns> public ServiceState GetServiceState(InnerService service) { return(GetServiceState(ServiceManager.InnerServiceTypeList[service])); }