/// <summary> /// Serves as a hash function for a <see cref="ProfileID"/>. /// </summary> /// <returns>A hash code for the current <see cref="ProfileID"/></returns> public override int GetHashCode() { unchecked { int hash = (int)2166136261; hash *= 16777619 ^ CMP.GetHashCode(Values); return(hash); } }
/// <summary> /// Serves as a hash function for a <see cref="ProfileFlag"/>. /// </summary> /// <returns>A hash code for the current <see cref="ProfileFlag"/></returns> public override int GetHashCode() { unchecked { int hash = (int)2166136261; hash *= CMP.GetHashCode(Flags); return(hash); } }
/// <summary> /// Serves as a hash function for a <see cref="OneDimensionalCurve"/>. /// </summary> /// <returns>A hash code for the current <see cref="OneDimensionalCurve"/></returns> public override int GetHashCode() { unchecked { int hash = (int)2166136261; hash *= CMP.GetHashCode(BreakPoints); hash *= CMP.GetHashCode(Segments); return(hash); } }
/// <summary> /// Serves as a hash function for a <see cref="SampledCurveElement"/>. /// </summary> /// <returns>A hash code for the current <see cref="SampledCurveElement"/></returns> public override int GetHashCode() { unchecked { int hash = (int)2166136261; hash *= 16777619 ^ Signature.GetHashCode(); hash *= CMP.GetHashCode(CurveEntries); return(hash); } }
/// <summary> /// Serves as a hash function for a <see cref="ProfileSequenceIdentifier"/>. /// </summary> /// <returns>A hash code for the current <see cref="ProfileSequenceIdentifier"/></returns> public override int GetHashCode() { unchecked { int hash = (int)2166136261; hash *= 16777619 ^ ID.GetHashCode(); hash *= 16777619 ^ CMP.GetHashCode(Description); return(hash); } }
/// <summary> /// Serves as a hash function for a <see cref="ResponseCurve"/>. /// </summary> /// <returns>A hash code for the current <see cref="ResponseCurve"/></returns> public override int GetHashCode() { unchecked { int hash = (int)2166136261; hash *= 16777619 ^ CurveType.GetHashCode(); hash *= CMP.GetHashCode(XYZvalues); hash *= CMP.GetHashCode(ResponseArrays); return(hash); } }
/// <summary> /// Serves as a hash function for a <see cref="NamedColor"/>. /// </summary> /// <returns>A hash code for the current <see cref="NamedColor"/></returns> public override int GetHashCode() { unchecked { int hash = (int)2166136261; hash *= 16777619 ^ Name.GetHashCode(); hash *= CMP.GetHashCode(PCScoordinates); hash *= CMP.GetHashCode(DeviceCoordinates); return(hash); } }
/// <summary> /// Serves as a hash function for a <see cref="CLUT"/>. /// </summary> /// <returns>A hash code for the current <see cref="CLUT"/></returns> public override int GetHashCode() { unchecked { int hash = (int)2166136261; hash *= 16777619 ^ InputChannelCount.GetHashCode(); hash *= 16777619 ^ OutputChannelCount.GetHashCode(); hash *= CMP.GetHashCode(GridPointCount); hash *= CMP.GetHashCode(Values); return(hash); } }
/// <summary> /// Serves as a hash function for a <see cref="CurveSetProcessElement"/>. /// </summary> /// <returns>A hash code for the current <see cref="CurveSetProcessElement"/></returns> public override int GetHashCode() { unchecked { int hash = (int)2166136261; hash *= 16777619 ^ Signature.GetHashCode(); hash *= 16777619 ^ InputChannelCount.GetHashCode(); hash *= 16777619 ^ OutputChannelCount.GetHashCode(); hash *= CMP.GetHashCode(Curves); return(hash); } }
/// <summary> /// Calculates a hash code of these values: /// <para> - <see cref="Class"/></para> /// <para> - <see cref="DataColorspace"/></para> /// <para> - <see cref="PCS"/></para> /// <para> - <see cref="PCSIlluminant"/></para> /// <para> - <see cref="Data"/></para> /// </summary> /// <returns>The hash code of the listed values</returns> public override int GetHashCode() { unchecked { int hash = (int)2166136261; hash *= 16777619 ^ Class.GetHashCode(); hash *= 16777619 ^ DataColorspace.GetHashCode(); hash *= 16777619 ^ PCS.GetHashCode(); hash *= 16777619 ^ PCSIlluminant.GetHashCode(); hash *= CMP.GetHashCode(Data); return(hash); } }
/// <summary> /// Serves as a hash function for a <see cref="DeviceAttribute"/>. /// </summary> /// <returns>A hash code for the current <see cref="DeviceAttribute"/></returns> public override int GetHashCode() { unchecked { int hash = (int)2166136261; hash *= 16777619 ^ Opacity.GetHashCode(); hash *= 16777619 ^ Reflectivity.GetHashCode(); hash *= 16777619 ^ Polarity.GetHashCode(); hash *= 16777619 ^ Chroma.GetHashCode(); hash *= CMP.GetHashCode(VendorData); return(hash); } }
/// <summary> /// Serves as a hash function for a <see cref="ProfileDescription"/>. /// </summary> /// <returns>A hash code for the current <see cref="ProfileDescription"/></returns> public override int GetHashCode() { unchecked { int hash = (int)2166136261; hash *= 16777619 ^ DeviceManufacturer.GetHashCode(); hash *= 16777619 ^ DeviceModel.GetHashCode(); hash *= 16777619 ^ DeviceAttributes.GetHashCode(); hash *= 16777619 ^ TechnologyInformation.GetHashCode(); hash *= 16777619 ^ CMP.GetHashCode(DeviceManufacturerInfo); hash *= 16777619 ^ CMP.GetHashCode(DeviceModelInfo); return(hash); } }