Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Name != null ? Name.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ IsId.GetHashCode();
         hashCode = (hashCode * 397) ^ (DataType != null ? DataType.GetHashCode() : 0);
         return(hashCode);
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     return((S + P + O + IsId.ToString()).GetHashCode());
 }