Example #1
0
 public override int GetHashCode() => HashCodeGenerator.Of(Id);
Example #2
0
 public override int GetHashCode() =>
 HashCodeGenerator.Of(GetEqualityComponents()
                      .Aggregate(1, (current, obj) => (current * 23) + (obj?.GetHashCode() ?? 0)));