C# 클래스 GitHubFeeds.Helpers.HeaderElement

HeaderElement represents one element in an HTTP header.
This class is loosely based on the HttpCode HeaderElement API.
파일 보기 프로젝트 열기: bgrainger/GitHubFeeds

공개 메소드들

메소드 설명
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