equalTo

Compares the current AggregateId object for equality with another object. This method provides business logic equality comparison for AggregateId objects, comparing all relevant properties rather than just reference equality.

Return

true if the objects are equal based on their properties, false otherwise.

Parameters

other

The object to compare with this AggregateId.