IdClass

Base for all engine objects.

Properties

Id

(Guid) { get; set } = Guid.NewGuid(): Object ID.

Public Methods

Equals

public bool Equals(IdClass? other)

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

Parameters:

  • other (IdClass?): An object to compare with this object.

Returns: bool

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

Equals

public override bool Equals(object? obj)

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

Parameters:

  • obj (object?): The object to compare with the current object.

Returns: bool

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

GetHashCode

public override int GetHashCode()

Returns a hash code for the current object.

Returns: int

  • A hash code for the current object.