C# 클래스 YumaPos.UploadFileServer.Services.FileOperationService

상속: IFileOperationService
파일 보기 프로젝트 열기: yumapos/Yumasoft-UploadServer

공개 메소드들

메소드 설명
AddFile ( byte data ) : Task
CheckImageAndGetContentType ( byte data ) : ImageInfo
FileOperationService ( ) : System
GetFile ( System.Guid id ) : Task
GetImage ( System.Guid id, int width, int height, string resizeType ) : Task
GetOriginalImage ( System.Guid id ) : Task
RemoveFile ( System.Guid fileId ) : void

비공개 메소드들

메소드 설명
CheckResolutionAndSize ( int width, int height, int length ) : void
GetContentType ( ImageFormat rawFormat ) : string
GetOrCreateCache ( System.Guid id, int width, int height, string resizeType ) : byte[]
ResizeImage ( byte data, int width, int height, string resizeType ) : byte[]

메소드 상세

AddFile() 공개 메소드

public AddFile ( byte data ) : Task
data byte
리턴 Task

CheckImageAndGetContentType() 공개 메소드

public CheckImageAndGetContentType ( byte data ) : ImageInfo
data byte
리턴 YumaPos.UploadFileServer.Infrastructure.Structure.ImageInfo

FileOperationService() 공개 메소드

public FileOperationService ( ) : System
리턴 System

GetFile() 공개 메소드

public GetFile ( System.Guid id ) : Task
id System.Guid
리턴 Task

GetImage() 공개 메소드

public GetImage ( System.Guid id, int width, int height, string resizeType ) : Task
id System.Guid
width int
height int
resizeType string
리턴 Task

GetOriginalImage() 공개 메소드

public GetOriginalImage ( System.Guid id ) : Task
id System.Guid
리턴 Task

RemoveFile() 공개 메소드

public RemoveFile ( System.Guid fileId ) : void
fileId System.Guid
리턴 void