UriTemplateBindByNameT Method (Uri, IDictionaryString, T) |
This API is preliminary and subject to change.
Creates a new URI from the template and the collection of parameters. The URI formed
by the expanded template is resolved against baseAddress to produce
an absolute URI.
Namespace: TunnelVisionLabs.NetAssembly: TunnelVisionLabs.Net.UriTemplate (in TunnelVisionLabs.Net.UriTemplate.dll) Version: 1.0.0-beta004
Syntax public Uri BindByName<T>(
Uri baseAddress,
IDictionary<string, T> parameters
)
Public Function BindByName(Of T) (
baseAddress As Uri,
parameters As IDictionary(Of String, T)
) As Uri
public:
generic<typename T>
Uri^ BindByName(
Uri^ baseAddress,
IDictionary<String^, T>^ parameters
)
member BindByName :
baseAddress : Uri *
parameters : IDictionary<string, 'T> -> Uri
Parameters
- baseAddress
- Type: SystemUri
The base address of the URI. - parameters
- Type: System.Collections.GenericIDictionaryString, T
The parameter values.
Type Parameters
- T
- The type of parameter value provided in parameters.
Return Value
Type:
UriA
Uri object representing the expanded template.
Exceptions Version Information .NET Framework
Supported in: 2.0
Portable Class Library
Supported in: Portable Class Library (Legacy)
URI Template Library
Supported in: 1.0
See Also