Method | Description | |
---|---|---|
Validate ( object argument, string argumentName ) : void |
Helper method for validating an argument that will be used by this API in any requests.
|
|
ValidateAndSetupAPIContext ( |
Helper method for validating and setting up an APIContext object in preparation for it being used when sending an HTTP request.
|
public static Validate ( object argument, string argumentName ) : void | ||
argument | object | The object to be validated. |
argumentName | string | The name of the argument. This will be placed in the exception message for easy reference. |
return | void |
public static ValidateAndSetupAPIContext ( |
||
apiContext | APIContext used for API calls. | |
return | void |