Bewerken

Delen via


UriTemplateEquivalenceComparer Constructor

Definition

Initializes a new instance of the UriTemplateEquivalenceComparer class.

public:
 UriTemplateEquivalenceComparer();
public UriTemplateEquivalenceComparer ();
Public Sub New ()

Examples

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());
'Create a dictionary and use UriTemplateEquivalenceComparer as the comparer
Dim templates As Dictionary(Of UriTemplate, Object) = New Dictionary(Of UriTemplate, Object)(New UriTemplateEquivalenceComparer())

Applies to