C# 클래스 Transloadit.Transloadit

Handles whole data transfer procedures between Your Application and Transloadit
상속: ITransloadit
파일 보기 프로젝트 열기: nkranitz/transloadit-csharp-sdk 1 사용 예제들

공개 메소드들

메소드 설명
DeleteAssembly ( string assemblyID ) : TransloaditResponse

Tries to delete an assembly by the specified assembly ID.

InvokeAssembly ( IAssemblyBuilder assembly ) : TransloaditResponse

Tries to create the specified assembly on Transloadit. Bored instance is requested at first. If there is one, then it will be used to proceed the request, which can be completed on a bored instance.

Request ( ) : TransloaditRequest

Creates and gets a new TransloaditRequest instance with default attributes

RequestAndExecute ( TransloaditRequest request = null ) : TransloaditResponse

Creates then tries to proceed the specified or a default request, then executes this and gets the response of it.

Transloadit ( string key, string secret ) : System

Creates a new Transloadit object with the passed keys

비공개 메소드들

메소드 설명
GetSignature ( string str ) : string

Generates and gets the signature of the current request (based on the API Secret code and "params" field)

메소드 상세

DeleteAssembly() 공개 메소드

Tries to delete an assembly by the specified assembly ID.
public DeleteAssembly ( string assemblyID ) : TransloaditResponse
assemblyID string ID of the assembly which will be tried to be deleted
리턴 TransloaditResponse

InvokeAssembly() 공개 메소드

Tries to create the specified assembly on Transloadit. Bored instance is requested at first. If there is one, then it will be used to proceed the request, which can be completed on a bored instance.
public InvokeAssembly ( IAssemblyBuilder assembly ) : TransloaditResponse
assembly IAssemblyBuilder Specified assembly which will be tried to be created. /// Please use TransloaditAssemblyBuilder to create a new assembly
리턴 TransloaditResponse

Request() 공개 메소드

Creates and gets a new TransloaditRequest instance with default attributes
public Request ( ) : TransloaditRequest
리턴 TransloaditRequest

RequestAndExecute() 공개 메소드

Creates then tries to proceed the specified or a default request, then executes this and gets the response of it.
public RequestAndExecute ( TransloaditRequest request = null ) : TransloaditResponse
request TransloaditRequest Optional request which will be tried to be executed
리턴 TransloaditResponse

Transloadit() 공개 메소드

Creates a new Transloadit object with the passed keys
public Transloadit ( string key, string secret ) : System
key string Public authentication key
secret string Secret authorization key
리턴 System