C# 클래스 ResizingClient.ResizingUtil

파일 보기 프로젝트 열기: chsword/ResizingServer

공개 프로퍼티들

프로퍼티 타입 설명
ApiKey string
Host string
UploadUrl string

공개 메소드들

메소드 설명
FormatUrl ( string format, int width, int height, ResizingMode mode = ResizingMode.Crop ) : string
Upload ( Stream stream, string filename, string category ) : Task
Upload ( byte bytes, string filename, string category ) : Task

비공개 메소드들

메소드 설명
GetMode ( ResizingMode mode ) : string

메소드 상세

FormatUrl() 공개 정적인 메소드

public static FormatUrl ( string format, int width, int height, ResizingMode mode = ResizingMode.Crop ) : string
format string
width int
height int
mode ResizingMode
리턴 string

Upload() 공개 정적인 메소드

public static Upload ( Stream stream, string filename, string category ) : Task
stream Stream
filename string
category string
리턴 Task

Upload() 공개 정적인 메소드

public static Upload ( byte bytes, string filename, string category ) : Task
bytes byte
filename string
category string
리턴 Task

프로퍼티 상세

ApiKey 공개적으로 정적으로 프로퍼티

public static string ApiKey
리턴 string

Host 공개적으로 정적으로 프로퍼티

public static string Host
리턴 string

UploadUrl 공개적으로 정적으로 프로퍼티

public static string UploadUrl
리턴 string