コード例 #1
0
 public bool Equals(DomainEntity other) => other == null ? false : Id.Equals(other.Id);
コード例 #2
0
 public bool Equals(DomainEntity other) => other != null && Id.Equals(other.Id);