C# Class System.UriTemplate

ファイルを表示 Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
BindByName ( Uri baseAddress, string>.IDictionary parameters ) : Uri
BindByName ( Uri baseAddress, string>.IDictionary parameters, bool omitDefaults ) : Uri
BindByName ( Uri baseAddress, Object parameters ) : Uri
BindByName ( Uri baseAddress, Object parameters, bool omitDefaults ) : Uri
BindByPosition ( Uri baseAddress ) : Uri
IsEquivalentTo ( UriTemplate other ) : bool
Match ( Uri baseAddress, Uri candidate ) : System.UriTemplateMatch
ToString ( ) : string
UriTemplate ( string template ) : System
UriTemplate ( string template, string>.IDictionary additionalDefaults ) : System
UriTemplate ( string template, bool ignoreTrailingSlash ) : System
UriTemplate ( string template, bool ignoreTrailingSlash, string>.IDictionary additionalDefaults ) : System

Private Methods

Method Description
BindByName ( int &src, StringBuilder sb, ReadOnlyCollection names, Object nvc, string>.IDictionary dic, bool omitDefaults, bool query ) : void
BindByNameCommon ( Uri baseAddress, Object nvc, string>.IDictionary dic, bool omitDefaults ) : Uri
BindByPosition ( int &src, StringBuilder sb, ReadOnlyCollection names, string values, int &index ) : void
CheckBaseAddress ( Uri baseAddress ) : void
ParsePathTemplate ( string template, int index, int end ) : ReadOnlyCollection
ParseQueryTemplate ( string template, int index, int end ) : void
StringIndexOf ( string s, string pattern, int idx ) : int
TrimRenderedUri ( StringBuilder sb ) : string

Method Details

BindByName() public method

public BindByName ( Uri baseAddress, string>.IDictionary parameters ) : Uri
baseAddress Uri
parameters string>.IDictionary
return Uri

BindByName() public method

public BindByName ( Uri baseAddress, string>.IDictionary parameters, bool omitDefaults ) : Uri
baseAddress Uri
parameters string>.IDictionary
omitDefaults bool
return Uri

BindByName() public method

public BindByName ( Uri baseAddress, Object parameters ) : Uri
baseAddress Uri
parameters Object
return Uri

BindByName() public method

public BindByName ( Uri baseAddress, Object parameters, bool omitDefaults ) : Uri
baseAddress Uri
parameters Object
omitDefaults bool
return Uri

BindByPosition() public method

public BindByPosition ( Uri baseAddress ) : Uri
baseAddress Uri
return Uri

IsEquivalentTo() public method

public IsEquivalentTo ( UriTemplate other ) : bool
other UriTemplate
return bool

Match() public method

public Match ( Uri baseAddress, Uri candidate ) : System.UriTemplateMatch
baseAddress Uri
candidate Uri
return System.UriTemplateMatch

ToString() public method

public ToString ( ) : string
return string

UriTemplate() public method

public UriTemplate ( string template ) : System
template string
return System

UriTemplate() public method

public UriTemplate ( string template, string>.IDictionary additionalDefaults ) : System
template string
additionalDefaults string>.IDictionary
return System

UriTemplate() public method

public UriTemplate ( string template, bool ignoreTrailingSlash ) : System
template string
ignoreTrailingSlash bool
return System

UriTemplate() public method

public UriTemplate ( string template, bool ignoreTrailingSlash, string>.IDictionary additionalDefaults ) : System
template string
ignoreTrailingSlash bool
additionalDefaults string>.IDictionary
return System