Click or drag to resize
UriTemplateMatch Method (Uri)
This API is preliminary and subject to change.
Attempts to match a Uri to a UriTemplate.

Namespace: TunnelVisionLabs.Net
Assembly: TunnelVisionLabs.Net.UriTemplate (in TunnelVisionLabs.Net.UriTemplate.dll) Version: 1.0.0-beta004
Syntax
public UriTemplateMatch Match(
	Uri candidate
)

Parameters

candidate
Type: SystemUri
The Uri to match against the template.

Return Value

Type: UriTemplateMatch
A UriTemplateMatch object containing the results of the match operation, or if the match failed.
Exceptions
ExceptionCondition
ArgumentNullException If candidate is .
Remarks

For detailed information about the behavior of this method, see the remarks in the documentation for the Match Overload methods.

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