C# Класс DCartRestAPIClient.Program

Показать файл Открыть проект

Открытые методы

Метод Описание
CallFunctions ( IRestAPIType singletonAPIObject, RestAPIActions siteRecords, ActionType action, RestAPIType type ) : void
GetClient ( string sHost, string sVersion, string sPrivateKey, string sToken, string sSecureURL, string sContentType ) : HttpClient
GetRestAPIType ( RestAPIType restAPI ) : string
RunMethods ( ) : void

Приватные методы

Метод Описание
Main ( string args ) : void
RunAsync ( ) : System.Threading.Tasks.Task

Описание методов

CallFunctions() публичный статический Метод

public static CallFunctions ( IRestAPIType singletonAPIObject, RestAPIActions siteRecords, ActionType action, RestAPIType type ) : void
singletonAPIObject IRestAPIType
siteRecords RestAPIActions
action ActionType
type RestAPIType
Результат void

GetClient() публичный статический Метод

public static GetClient ( string sHost, string sVersion, string sPrivateKey, string sToken, string sSecureURL, string sContentType ) : HttpClient
sHost string
sVersion string
sPrivateKey string
sToken string
sSecureURL string
sContentType string
Результат System.Net.Http.HttpClient

GetRestAPIType() публичный статический Метод

public static GetRestAPIType ( RestAPIType restAPI ) : string
restAPI RestAPIType
Результат string

RunMethods() публичный статический Метод

public static RunMethods ( ) : void
Результат void