UriTemplateEquivalenceComparer Constructor

Definition

Initialisiert eine neue Instanz der UriTemplateEquivalenceComparer-Klasse.Initializes a new instance of the UriTemplateEquivalenceComparer class.

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

Examples

Im folgenden Codebeispiel wird das Aufrufen des Konstruktors für diese Klasse veranschaulicht.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