C# Class ResizingClient.ResizingUtil

Afficher le fichier Open project: chsword/ResizingServer

Méthodes publiques

Свойство Type Description
ApiKey string
Host string
UploadUrl string

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetMode ( ResizingMode mode ) : string

Method Details

FormatUrl() public static méthode

public static FormatUrl ( string format, int width, int height, ResizingMode mode = ResizingMode.Crop ) : string
format string
width int
height int
mode ResizingMode
Résultat string

Upload() public static méthode

public static Upload ( Stream stream, string filename, string category ) : Task
stream Stream
filename string
category string
Résultat Task

Upload() public static méthode

public static Upload ( byte bytes, string filename, string category ) : Task
bytes byte
filename string
category string
Résultat Task

Property Details

ApiKey public_oe static_oe property

public static string ApiKey
Résultat string

Host public_oe static_oe property

public static string Host
Résultat string

UploadUrl public_oe static_oe property

public static string UploadUrl
Résultat string