Click or drag to resize
UriTemplateBindByNameT Method (IDictionaryString, T)
This API is preliminary and subject to change.
Creates a new URI from the template and the collection of parameters.

Namespace: TunnelVisionLabs.Net
Assembly: TunnelVisionLabs.Net.UriTemplate (in TunnelVisionLabs.Net.UriTemplate.dll) Version: 1.0.0-beta004
Syntax
public Uri BindByName<T>(
	IDictionary<string, T> parameters
)

Parameters

parameters
Type: System.Collections.GenericIDictionaryString, T
The parameter values.

Type Parameters

T
The type of parameter value provided in parameters.

Return Value

Type: Uri
A Uri object representing the expanded template.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf parameters is .
InvalidOperationExceptionIf a variable reference with a prefix modifier expands to a collection or dictionary.
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