C# Класс Vuzit.OptionList

Class for handling optional parameters for methods. These options can then be directly applied to the web service parameterse.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Add() публичный Метод

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
Результат OptionList

Add() публичный Метод

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
Результат OptionList

Add() публичный Метод

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
Результат OptionList

Contains() публичный Метод

Returns true if the list contains an item by that key name.
public Contains ( string key ) : bool
key string
Результат bool

this() публичный Метод

Returns the item in the list at that key.
public this ( string key ) : string
key string
Результат string