UriTemplate Constructor (String, Boolean, IDictionary<String, String>)

 

Initializes a new instance of the UriTemplate class.

Namespace:   System
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public UriTemplate(
	string template,
	bool ignoreTrailingSlash,
	IDictionary<string, string> additionalDefaults
)

Parameters

template
Type: System.String

The template string.

ignoreTrailingSlash
Type: System.Boolean

true if the trailing slash “/” characters are ignored; otherwise false.

additionalDefaults
Type: System.Collections.Generic.IDictionary<String, String>

A dictionary that contains a list of default values for the template parameters.

.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Return to top
Show: