C# Class Vuzit.OptionList

Class for handling optional parameters for methods. These options can then be directly applied to the web service parameterse.
ファイルを表示 Open project: vuzit/vuzit.net Class Usage Examples

Public Methods

Method Description
Add ( string key, bool value ) : OptionList

Adds an option then returns itself so that you can chain add items to the list.

Add ( string key, int value ) : OptionList

Adds an option then returns itself so that you can chain add items to the list.

Add ( string key, string value ) : OptionList

Adds an option then returns itself so that you can chain add items to the list.

Contains ( string key ) : bool

Returns true if the list contains an item by that key name.

this ( string key ) : string

Returns the item in the list at that key.

Method Details

Add() public method

Adds an option then returns itself so that you can chain add items to the list.
public Add ( string key, bool value ) : OptionList
key string
value bool
return OptionList

Add() public method

Adds an option then returns itself so that you can chain add items to the list.
public Add ( string key, int value ) : OptionList
key string
value int
return OptionList

Add() public method

Adds an option then returns itself so that you can chain add items to the list.
public Add ( string key, string value ) : OptionList
key string
value string
return OptionList

Contains() public method

Returns true if the list contains an item by that key name.
public Contains ( string key ) : bool
key string
return bool

this() public method

Returns the item in the list at that key.
public this ( string key ) : string
key string
return string