C# Класс GitHubFeeds.Helpers.HeaderElement

HeaderElement represents one element in an HTTP header.
This class is loosely based on the HttpCode HeaderElement API.
Показать файл Открыть проект

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

Метод Описание
GetParameterByName ( string key ) : string

Gets the value of a parameter for the specified key.

TryGetParameterByName ( string name, string &value ) : bool

Gets the value of a parameter for the specified key.

Приватные методы

Метод Описание
HeaderElement ( string name, string>.IEnumerable parameters ) : System.Collections.Generic

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

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

Gets the value of a parameter for the specified key.
public GetParameterByName ( string key ) : string
key string The key.
Результат string

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

Gets the value of a parameter for the specified key.
public TryGetParameterByName ( string name, string &value ) : bool
name string The key.
value string On return, contains the parameter value associated with that key if the key is found; otherwise, null.
Результат bool