Show / Hide Table of Contents

Class UriComparer

Equality comparer that compares URIs.

Inheritance
object
UriComparer
Implements
IComparer<Uri>
IEqualityComparer<Uri>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class UriComparer : IComparer<Uri>, IEqualityComparer<Uri>

Methods

| Edit this page View Source

Compare(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
| Edit this page View Source

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
| Edit this page View Source

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

Implements

IComparer<T>
IEqualityComparer<T>

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Methods
    • Compare(Uri, Uri)
    • Equals(Uri, Uri)
    • GetHashCode(Uri)
  • Implements
  • Extension Methods
Back to top Generated by DocFX