Пример #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = MaxSize.GetHashCode();
         hashCode = (hashCode * 397) ^ BinaryExists.GetHashCode();
         hashCode = (hashCode * 397) ^ ValidArticle.GetHashCode();
         hashCode = (hashCode * 397) ^ ContainsIndexFile.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxFilenameLength.GetHashCode();
         hashCode = (hashCode * 397) ^ (SupportedFileFormats?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }
Пример #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = ImageSizeRange.GetHashCode();
         hashCode = (hashCode * 397) ^ BinaryExists.GetHashCode();
         hashCode = (hashCode * 397) ^ ValidImage.GetHashCode();
         hashCode = (hashCode * 397) ^ ExtensionMatchContentFormat.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxSize.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxFilenameLength.GetHashCode();
         return(hashCode);
     }
 }
Пример #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = MaxSize.GetHashCode();
         hashCode = (hashCode * 397) ^ BinaryExists.GetHashCode();
         hashCode = (hashCode * 397) ^ ValidImage.GetHashCode();
         hashCode = (hashCode * 397) ^ ExtensionMatchContentFormat.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxFilenameLength.GetHashCode();
         hashCode = (hashCode * 397) ^ (SupportedFileFormats?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (SupportedImageSizes?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ IsAlphaChannelRequired.GetHashCode();
         return(hashCode);
     }
 }
Пример #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = MaxSize.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxFilenameLength.GetHashCode();
         hashCode = (hashCode * 397) ^ BinaryExists.GetHashCode();
         hashCode = (hashCode * 397) ^ ValidImage.GetHashCode();
         hashCode = (hashCode * 397) ^ WithoutBitmaps.GetHashCode();
         hashCode = (hashCode * 397) ^ WithoutNonRenderedElements.GetHashCode();
         hashCode = (hashCode * 397) ^ WithoutUrlInStyles.GetHashCode();
         hashCode = (hashCode * 397) ^ WithoutGradient.GetHashCode();
         hashCode = (hashCode * 397) ^ PathsAreClosed.GetHashCode();
         hashCode = (hashCode * 397) ^ (SupportedFileFormats != null ? SupportedFileFormats.GetHashCode() : 0);
         return(hashCode);
     }
 }