Method | Description | |
---|---|---|
GetParameterNames ( ) : IEnumerable |
Gets the parameter names.
|
|
Resolve ( ) : string |
Resolves this instance.
|
|
Resolve ( string templateSpec, object>.IDictionary |
Resolves the specified template spec.
|
|
Resolve ( string templateSpec, object parameters ) : string |
Resolves the specified template spec.
|
|
SetParameter ( string name, string>.IDictionary |
Sets the parameter.
|
|
SetParameter ( string name, IEnumerable |
Sets the parameter.
|
|
SetParameter ( string name, object value ) : void |
Sets the parameter.
|
|
SetParameter ( string name, string value ) : void |
Sets the parameter.
|
|
UrlTemplate ( string template ) : System |
Initializes a new instance of the UrlTemplate class.
|
Method | Description | |
---|---|---|
AppendDictionary ( OperatorInfo op, bool explode, string>.IDictionary |
||
AppendList ( OperatorInfo op, bool explode, string variable, IEnumerable |
||
AppendName ( string variable, OperatorInfo op, bool valueIsEmpty ) : void | ||
AppendValue ( string value, int prefixLength, bool allowReserved ) : void | ||
Encode ( string p, bool allowReserved ) : string | ||
GetOperator ( char operatorIndicator ) : OperatorInfo | ||
ProcessExpression ( StringBuilder currentExpression ) : void | ||
ProcessVariable ( VarSpec varSpec ) : bool |
public static Resolve ( string templateSpec, object>.IDictionary |
||
templateSpec | string | The template spec. |
parameters | object>.IDictionary | The parameters. |
return | string |
public static Resolve ( string templateSpec, object parameters ) : string | ||
templateSpec | string | The template spec. |
parameters | object | The parameters. |
return | string |
public SetParameter ( string name, string>.IDictionary |
||
name | string | The name. |
value | string>.IDictionary | The value. |
return | void |
public SetParameter ( string name, IEnumerable |
||
name | string | The name. |
value | IEnumerable |
The value. |
return | void |
public SetParameter ( string name, object value ) : void | ||
name | string | The name. |
value | object | The value. |
return | void |
public SetParameter ( string name, string value ) : void | ||
name | string | The name. |
value | string | The value. |
return | void |
public UrlTemplate ( string template ) : System | ||
template | string | The template. |
return | System |