Ejemplo n.º 1
0
 /// <summary>
 /// Serves as a hash of this type.
 /// </summary>
 /// <returns>A hash code for the current instance.</returns>
 public override int GetHashCode()
 {
     return
         (ColorSpace.GetHashCode() ^
          CompressionMethod.GetHashCode() ^
          Density.GetHashCode() ^
          FileName.GetHashCode() ^
          Format.GetHashCode() ^
          Height.GetHashCode() ^
          Interlace.GetHashCode() ^
          Width.GetHashCode());
 }
Ejemplo n.º 2
0
 ///<summary>
 /// Serves as a hash of this type.
 ///</summary>
 public override int GetHashCode()
 {
     return
         (ColorSpace.GetHashCode() ^
          CompressionMethod.GetHashCode() ^
          Format.GetHashCode() ^
          Height.GetHashCode() ^
          Interlace.GetHashCode() ^
          ResolutionUnits.GetHashCode() ^
          ResolutionX.GetHashCode() ^
          ResolutionY.GetHashCode() ^
          Width.GetHashCode());
 }