public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (ViewModelId != null ? ViewModelId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ IsList.GetHashCode();
         hashCode = (hashCode * 397) ^ IsVoid.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Marks != null ? Marks.GetItemHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ViewModelId != null ? ViewModelId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ IsList.GetHashCode();
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Marks != null ? Marks.GetItemHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Groups != null ? Groups.GetItemHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ViewModelId != null ? ViewModelId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ IsList.GetHashCode();
         hashCode = (hashCode * 397) ^ IsOptional.GetHashCode();
         hashCode = (hashCode * 397) ^ (DefaultValue != null ? DefaultValue.GetHashCode() : 0);
         return(hashCode);
     }
 }