C# Class DCartRestAPIClient.Program

Mostra file Open project: 3dcart/REST-API-Client

Public Methods

Method Description
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

Private Methods

Method Description
Main ( string args ) : void
RunAsync ( ) : System.Threading.Tasks.Task

Method Details

CallFunctions() public static method

public static CallFunctions ( IRestAPIType singletonAPIObject, RestAPIActions siteRecords, ActionType action, RestAPIType type ) : void
singletonAPIObject IRestAPIType
siteRecords RestAPIActions
action ActionType
type RestAPIType
return void

GetClient() public static method

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
return System.Net.Http.HttpClient

GetRestAPIType() public static method

public static GetRestAPIType ( RestAPIType restAPI ) : string
restAPI RestAPIType
return string

RunMethods() public static method

public static RunMethods ( ) : void
return void