Click or drag to resize
UriTemplate Constructor
This API is preliminary and subject to change.
Initializes a new instance of the UriTemplate class using the specified template.

Namespace: TunnelVisionLabs.Net
Assembly: TunnelVisionLabs.Net.UriTemplate (in TunnelVisionLabs.Net.UriTemplate.dll) Version: 1.0.0-beta004
Syntax
public UriTemplate(
	string template
)

Parameters

template
Type: SystemString
The URI template.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf template is .
NotSupportedExceptionIf template contains a variable expansion which uses an operator which is reserved for future extensions, but not defined for Level 4 URI Templates.
FormatExceptionIf template is not a valid URI-Template according to RFC 6570.
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