C# Class DCartRestAPIClient.Program

Afficher le fichier Open project: 3dcart/REST-API-Client

Méthodes publiques

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

Méthode Description
Main ( string args ) : void
RunAsync ( ) : System.Threading.Tasks.Task

Method Details

CallFunctions() public static méthode

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

GetClient() public static méthode

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
Résultat System.Net.Http.HttpClient

GetRestAPIType() public static méthode

public static GetRestAPIType ( RestAPIType restAPI ) : string
restAPI RestAPIType
Résultat string

RunMethods() public static méthode

public static RunMethods ( ) : void
Résultat void