Amido.Testing.WebApi.WebApiRequest.AddFormParameter C# (CSharp) Method

AddFormParameter() public method

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