/// <summary> /// <para>Returns a unique hash for this of <see cref="AssetIconsCameraSetup"/>.</para> /// </summary> /// <returns> /// <para>An <see cref="int"/> that represents a unique has of this instance.</para> /// </returns> public override int GetHashCode() { int hashCode = -1977805934; hashCode = hashCode * -1521134295 + Padding.GetHashCode(); hashCode = hashCode * -1521134295 + PreviewDirection.GetHashCode(); hashCode = hashCode * -1521134295 + TransparentBackground.GetHashCode(); hashCode = hashCode * -1521134295 + BackgroundColor.GetHashCode(); hashCode = hashCode * -1521134295 + Orthographic.GetHashCode(); return(hashCode); }
/// <inheritdoc/> public override int GetHashCode() => - 711844102 ^ Scale.GetHashCode() ^ DisplayHeaderFooter.GetHashCode() ^ TransparentBackground.GetHashCode() ^ EqualityComparer <string> .Default.GetHashCode(HeaderTemplate) ^ EqualityComparer <string> .Default.GetHashCode(FooterTemplate) ^ PrintBackground.GetHashCode() ^ Landscape.GetHashCode() ^ EqualityComparer <string> .Default.GetHashCode(PageRanges) ^ EqualityComparer <PaperFormat> .Default.GetHashCode(Format) ^ EqualityComparer <object> .Default.GetHashCode(Width) ^ EqualityComparer <object> .Default.GetHashCode(Height) ^ EqualityComparer <MarginOptions> .Default.GetHashCode(MarginOptions) ^ PreferCSSPageSize.GetHashCode();