Table of Contents

Class EntityIdentifier<I>

Namespace
Virtufin.Core
Assembly
Virtufin.Core.dll
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

identifier I

Methods

Equals(object?)

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

public override bool Equals(object? other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(IEntityIdentifier?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(IEntityIdentifier? other)

Parameters

other IEntityIdentifier

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

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.