Skip to main content

Definition

Assembly: CloudNimble.EasyAF.Core.dll Namespace: CloudNimble.EasyAF.Core Inheritance: System.Object

Syntax

Summary

Provides an equality comparer for objects that implement IIdentifiable1`. Compares objects based on their Id property values for equality and hash code generation.

Type Parameters

  • T - The type of the identifier used by the identifiable objects.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Methods

Equals

Determines whether the specified IIdentifiable1` objects are equal by comparing their Id properties.

Syntax

Parameters

Returns

Type: bool True if the objects are equal (including both being null), false otherwise.

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode

Returns a hash code for the specified IIdentifiable1` object based on its Id property.

Syntax

Parameters

Returns

Type: int A hash code for the specified object.

Exceptions

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?
  • System.Collections.Generic.IEqualityComparer<CloudNimble.EasyAF.Core.IIdentifiable<T>>