Class EntityIdentifier<I>
public class EntityIdentifier<I> : IEntityIdentifier, IEquatable<IEntityIdentifier> where I : IEquatable<I>
Type Parameters
I
- Inheritance
-
EntityIdentifier<I>
- Implements
- Derived
- Inherited Members
Constructors
EntityIdentifier(I)
public EntityIdentifier(I identifier)
Parameters
identifierI
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? other)
Parameters
otherobject
Returns
Equals(IEntityIdentifier?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IEntityIdentifier? other)
Parameters
otherIEntityIdentifierAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.