C# Class Hapikit.Templates.UriTemplate

Afficher le fichier Open project: hapikit/hapikit.net Class Usage Examples

Méthodes publiques

Méthode Description
ClearParameter ( string name ) : void
GetParameterNames ( ) : IEnumerable
Resolve ( ) : string
SetParameter ( string name, string>.IDictionary value ) : void
SetParameter ( string name, IEnumerable value ) : void
SetParameter ( string name, object value ) : void
SetParameter ( string name, string value ) : void
ToString ( ) : string
UriTemplate ( string template, bool resolvePartially = false, bool caseInsensitiveParameterNames = false ) : System

Private Methods

Méthode Description
GetOperator ( char operatorIndicator ) : OperatorInfo
IsVarNameChar ( char c ) : bool
ProcessExpression ( StringBuilder currentExpression ) : void
ProcessVariable ( VarSpec varSpec, bool multiVariableExpression = false ) : bool

Method Details

ClearParameter() public méthode

public ClearParameter ( string name ) : void
name string
Résultat void

GetParameterNames() public méthode

public GetParameterNames ( ) : IEnumerable
Résultat IEnumerable

Resolve() public méthode

public Resolve ( ) : string
Résultat string

SetParameter() public méthode

public SetParameter ( string name, string>.IDictionary value ) : void
name string
value string>.IDictionary
Résultat void

SetParameter() public méthode

public SetParameter ( string name, IEnumerable value ) : void
name string
value IEnumerable
Résultat void

SetParameter() public méthode

public SetParameter ( string name, object value ) : void
name string
value object
Résultat void

SetParameter() public méthode

public SetParameter ( string name, string value ) : void
name string
value string
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

UriTemplate() public méthode

public UriTemplate ( string template, bool resolvePartially = false, bool caseInsensitiveParameterNames = false ) : System
template string
resolvePartially bool
caseInsensitiveParameterNames bool
Résultat System