UriTemplateEquivalenceComparer Constructor ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the UriTemplateEquivalenceComparer class.

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

public UriTemplateEquivalenceComparer()

The following example shows how to call the constructor for this class.

// Create a dictionary and use UriTemplateEquivalenceComparer as the comparer
Dictionary<UriTemplate, object> templates = new Dictionary<UriTemplate, object>(new UriTemplateEquivalenceComparer());

.NET Framework
Available since 3.5
Return to top