C# Class Pixum.API.Extensions

Show file Open project: Pixum/Pixum.API-csharp

Public Methods

Method Description
AddParameter ( this request, object data ) : IRestRequest

Extension method for RestRequest to allow calling AddParameter with an anonymous object.

GetMd5 ( this input ) : string

Genereate MD5 Hash for given input.

Method Details

AddParameter() public static method

Extension method for RestRequest to allow calling AddParameter with an anonymous object.
public static AddParameter ( this request, object data ) : IRestRequest
request this RestRequest instance.
data object The object with properties.
return IRestRequest

GetMd5() public static method

Genereate MD5 Hash for given input.
public static GetMd5 ( this input ) : string
input this The input string.
return string