Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (ParserType != null ? ParserType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (TargetType != null ? TargetType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ HasHeaderRow.GetHashCode();
         hashCode = (hashCode * 397) ^ SkipRows;
         hashCode = (hashCode * 397) ^ (Encoding != null ? Encoding.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Delimiter != null ? Delimiter.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Quote.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)ExcelVersion;
         hashCode = (hashCode * 397) ^ (TableName != null ? TableName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ TableIndex.GetHashCode();
         return(hashCode);
     }
 }