public AddFormParameter ( string key, string value ) : IRestClient | ||
key | string | |
value | string | |
Результат | IRestClient |
public virtual IRestClient AddFormParameter(string key, string value, params object[] tokens)
{
Contract.Requires(!string.IsNullOrWhiteSpace(key), "The key cannot be null or empty.");
Contract.Requires(!string.IsNullOrWhiteSpace(value), "The value cannot be null or empty.");
formParameters.Add(key, string.Format(value, tokens));
return this;
}