Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = ProjectUID.GetHashCode();
         hashCode = (hashCode * 397) ^ AssetUID.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)StreamType;
         return(hashCode);
     }
 }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = InsertUTC.GetHashCode();
         hashCode = (hashCode * 397) ^ (Content != null ? Content.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ProjectUID.GetHashCode();
         hashCode = (hashCode * 397) ^ MachineUid.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)Operation;
         hashCode = (hashCode * 397) ^ (int)Origin;
         return(hashCode);
     }
 }