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