Amido.Testing.Http.RestClient.AddFormParameter C# (CSharp) Method

AddFormParameter() public method

public AddFormParameter ( string key, string value ) : IRestClient
key string
value string
return 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;
        }