C# Class Pushover_plugin.QuerystringBuilder

Builds a querystring (or form post data) from the specified name/object pairs.
显示文件 Open project: Vorror/GrowlForWindowsPushover Class Usage Examples

Public Methods

Method Description
Add ( string key, object value ) : void

Adds the specified name/object pair to the querystring

ToPostData ( ) : string

Returns the constructed form post data (no leading ?)

ToQuerystring ( ) : string

Returns the constructed querystring, including the leading ?

ToString ( ) : string

Returns a T:System.String that represents the current T:System.Object.

Method Details

Add() public method

Adds the specified name/object pair to the querystring
public Add ( string key, object value ) : void
key string The key.
value object The value.
return void

ToPostData() public method

Returns the constructed form post data (no leading ?)
public ToPostData ( ) : string
return string

ToQuerystring() public method

Returns the constructed querystring, including the leading ?
public ToQuerystring ( ) : string
return string

ToString() public method

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
return string