C# Class SteamWebAPI2.SteamWebRequestParameter

Represents a single parameter to be included in a web API request. Each parameter must have a name and a value, both of which will be serialized to a URL parameter.
显示文件 Open project: babelshift/SteamWebAPI2

Public Methods

Method Description
SteamWebRequestParameter ( string name, string value ) : System

Constructs a parameter with the given name and value. Name must not be null or empty.

ToString ( ) : string

Returns a string which concatenates the name and value together with '=' symbol as it would appear in a URL

Method Details

SteamWebRequestParameter() public method

Constructs a parameter with the given name and value. Name must not be null or empty.
public SteamWebRequestParameter ( string name, string value ) : System
name string Name to give this parameter
value string Value to give this parameter
return System

ToString() public method

Returns a string which concatenates the name and value together with '=' symbol as it would appear in a URL
public ToString ( ) : string
return string