Class UriPattern
A class for resolving URI pattern.
Inheritance
System.Object
UriPattern
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient.dll
Syntax
public static class UriPattern
Methods
Resolve(String, IEnumerable<KeyValuePair<String, Object>>)
Resolves the specified pattern.
Declaration
public static string Resolve(string pattern, IEnumerable<KeyValuePair<string, object>> parameters)
Parameters
Type | Name | Description |
---|---|---|
System.String | pattern | The pattern. |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Object>> | parameters | The parameters as key-value-pairs where the key is the parameter name. |
Returns
Type | Description |
---|---|
System.String | The URI created from the specified pattern. |