Auctus Class Library
  • Welcome!
  • Community
  • Reference
    • Namespaces
    • Automation
      • Logger
        • Logger(String, LogType, Int32)
        • Logger(Exception, LogType, Int32)
        • Logger(String, Object, LogType, Int32)
        • Logger(String, Object, Object, LogType, Int32)
        • Logger(String, Object, Object, Object, LogType, Int32)
        • Logger(String, Object[], LogType, Int32)
        • Logger(Boolean, LogType, Int32)
        • Logger(Char, LogType, Int32)
        • Logger(Char[], LogType, Int32)
        • Logger(Char[], Int32, Int32, LogType, Int32)
        • Logger(Double, LogType, Int32)
        • Logger(Decimal, LogType, Int32)
        • Logger(Single, LogType, Int32)
        • Logger(Int32, LogType, Int32)
        • Logger(UInt32, LogType, Int32)
        • Logger(Int64, LogType, Int32)
        • Logger(UInt64, LogType, Int32)
        • Logger(Object, LogType, Int32)
      • SLNet
        • SendDmsFileChange(Engine, String)
        • ChangeCommunicationState(Engine, Int32, Int32, Boolean)
        • GetInfo<T>(Engine, InfoTypeSingle)
        • GetInfo<T>(Engine, InfoTypeArray)
        • AddDocument(Engine, String, String, Byte[])
    • Common
      • Comparators
        • ObjectReferenceEqualityComparer
      • Enums
        • InfoTypeSingle
        • InfoTypeArray
      • Data Types
        • Bool Extensions
          • ToInt()
        • Integer Extensions
          • ToBool()
          • ToEnum<TEnumType>()
        • Object Extensions
          • ToStr(Boolean)
          • ToInt(Boolean)
          • ToDouble(Boolean)
          • ToBool(Boolean)
          • FromOADate(Boolean)
          • ToEnum<TEnumType>(Boolean)
          • ToJson(Boolean)
          • IsNull()
        • StringBuilder Extensions
          • Append(String, Boolean)
          • AppendLine(String, Boolean)
          • LastAppended()
          • LastIndexOf()
        • String Extensions
          • ToEnum<TEnumType>(Boolean)
          • ParseReadableTimeSpan()
        • TimeSpan Extensions
          • ToReadableString(Boolean, Format)
      • SLNet Types
        • DMSMessage Extensions
          • CastDMSMessage<T>(DMSMessage[])
      • Files
        • Documents
          • GetDocumentPaths(String, String[])
          • GetProtocolFolderName(String)
          • GetSafeFilename(String, Char)
        • XmlParser
          • ParseXml(String, String)
          • ParseXml(String)
    • Protocol
      • Logger
        • Logger(String, LogType, Int32)
        • Logger(Exception, LogType, Int32)
        • Logger(String, Object, LogType, Int32)
        • Logger(String, Object, Object, LogType, Int32)
        • Logger(String, Object, Object, Object, LogType, Int32)
        • Logger(String, Object[], LogType, Int32)
        • Logger(Boolean, LogType, Int32)
        • Logger(Char, LogType, Int32)
        • Logger(Char[], LogType, Int32)
        • Logger(Char[], Int32, Int32, LogType, Int32)
        • Logger(Double, LogType, Int32)
        • Logger(Decimal, LogType, Int32)
        • Logger(Single, LogType, Int32)
        • Logger(Int32, LogType, Int32)
        • Logger(UInt32, LogType, Int32)
        • Logger(Int64, LogType, Int32)
        • Logger(UInt64, LogType, Int32)
        • Logger(Object, LogType, Int32)
      • SLNet
        • SendDmsFileChange(Engine, String)
        • ChangeCommunicationState(Engine, Int32, Int32, Boolean)
        • GetInfo<T>(Engine, InfoTypeSingle)
        • GetInfo<T>(Engine, InfoTypeArray)
        • AddDocument(Engine, String, String, Byte[])
Powered by GitBook
On this page
  1. Reference
  2. Common
  3. Comparators

ObjectReferenceEqualityComparer

An IEqualityComparer that uses reference equality instead of value equality when comparing two object instances.

PreviousComparatorsNextEnums

Last updated 2 years ago

Declaration
public sealed class ObjectReferenceEqualityComparer : IEqualityComparer<object>, IEqualityComparer

Determines whether the specified object is equal to the current object.

Determines whether two object references refer to the same object instance.

Serves as the default hash function.

Returns a hash code for the specified object. The returned hash code is based on the object identity, not on the contents of the object.

Gets the of the current instance.

Creates a shallow copy of the current .

Returns a string that represents the current object.

This method has been backported from a future framework (.NET 5), to avoid possible conflicts the class name has been adjusted from .

ReferenceEqualityComparer
Equals(Object)
Equals(Object, Object)
GetHashCode()
GetHashCode(Object)
GetType()
Type
MemberwiseClone()
Object
ToString()