public override int GetHashCode() { unchecked { return((OwnerUuid.GetHashCode() * 397) ^ Uuid.GetHashCode()); } }
public bool Equals(ClientPrincipal other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(OwnerUuid.Equals(other.OwnerUuid) && Uuid.Equals(other.Uuid)); }