Class UriComparer
Equality comparer that compares URIs.
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class UriComparer : IComparer<Uri>, IEqualityComparer<Uri>
Methods
| Edit this page View SourceCompare(Uri, Uri)
Compares two URIs.
Declaration
public int Compare(Uri x, Uri y)
Parameters
Type | Name | Description |
---|---|---|
Uri | x | URI. |
Uri | y | URI. |
Returns
Type | Description |
---|---|
int |
Equals(Uri, Uri)
Determines whether two URIs are equal.
Declaration
public bool Equals(Uri x, Uri y)
Parameters
Type | Name | Description |
---|---|---|
Uri | x | URI. |
Uri | y | URI. |
Returns
Type | Description |
---|---|
bool |
GetHashCode(Uri)
Gets the Hash Code for a URI.
Declaration
public int GetHashCode(Uri obj)
Parameters
Type | Name | Description |
---|---|---|
Uri | obj | URI. |
Returns
Type | Description |
---|---|
int |