Compartilhar via


UriTemplateEquivalenceComparer Construtor

Definição

Inicializa uma nova instância da classe UriTemplateEquivalenceComparer.

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

Exemplos

O exemplo a seguir mostra como chamar o construtor para essa classe.

// 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())

Aplica-se a