Show / Hide Table of Contents

Class UriComparer

Equality comparer that compares URIs.
Inheritance
System.Object
UriComparer
Implements
System.Collections.Generic.IComparer<System.Uri>
System.Collections.Generic.IEqualityComparer<System.Uri>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRDF.dll
Syntax
public class UriComparer : IComparer<Uri>, IEqualityComparer<Uri>

Methods

| Improve this Doc View Source

Compare(Uri, Uri)

Compares two URIs.
Declaration
public int Compare(Uri x, Uri y)
Parameters
Type Name Description
System.Uri x URI.
System.Uri y URI.
Returns
Type Description
System.Int32
| Improve this Doc View Source

Equals(Uri, Uri)

Determines whether two URIs are equal.
Declaration
public bool Equals(Uri x, Uri y)
Parameters
Type Name Description
System.Uri x URI.
System.Uri y URI.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetHashCode(Uri)

Gets the Hash Code for a URI.
Declaration
public int GetHashCode(Uri obj)
Parameters
Type Name Description
System.Uri obj URI.
Returns
Type Description
System.Int32

Implements

System.Collections.Generic.IComparer<T>
System.Collections.Generic.IEqualityComparer<T>

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • Compare(Uri, Uri)
    • Equals(Uri, Uri)
    • GetHashCode(Uri)
  • Implements
  • Extension Methods
Back to top Generated by DocFX