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); } }
public override int GetHashCode() { int hashcode = 157; unchecked { if (isset.delimiter) { hashcode = (hashcode * 397) + Delimiter.GetHashCode(); } if (isset.null_str) { hashcode = (hashcode * 397) + Null_str.GetHashCode(); } if (isset.has_header) { hashcode = (hashcode * 397) + Has_header.GetHashCode(); } if (isset.quoted) { hashcode = (hashcode * 397) + Quoted.GetHashCode(); } if (isset.quote) { hashcode = (hashcode * 397) + Quote.GetHashCode(); } if (isset.escape) { hashcode = (hashcode * 397) + Escape.GetHashCode(); } if (isset.line_delim) { hashcode = (hashcode * 397) + Line_delim.GetHashCode(); } if (isset.array_delim) { hashcode = (hashcode * 397) + Array_delim.GetHashCode(); } if (isset.array_begin) { hashcode = (hashcode * 397) + Array_begin.GetHashCode(); } if (isset.array_end) { hashcode = (hashcode * 397) + Array_end.GetHashCode(); } if (isset.threads) { hashcode = (hashcode * 397) + Threads.GetHashCode(); } if (isset.file_type) { hashcode = (hashcode * 397) + File_type.GetHashCode(); } if (isset.s3_access_key) { hashcode = (hashcode * 397) + S3_access_key.GetHashCode(); } if (isset.s3_secret_key) { hashcode = (hashcode * 397) + S3_secret_key.GetHashCode(); } if (isset.s3_region) { hashcode = (hashcode * 397) + S3_region.GetHashCode(); } if (isset.geo_coords_encoding) { hashcode = (hashcode * 397) + Geo_coords_encoding.GetHashCode(); } if (isset.geo_coords_comp_param) { hashcode = (hashcode * 397) + Geo_coords_comp_param.GetHashCode(); } if (isset.geo_coords_type) { hashcode = (hashcode * 397) + Geo_coords_type.GetHashCode(); } if (isset.geo_coords_srid) { hashcode = (hashcode * 397) + Geo_coords_srid.GetHashCode(); } if (isset.sanitize_column_names) { hashcode = (hashcode * 397) + Sanitize_column_names.GetHashCode(); } if (isset.geo_layer_name) { hashcode = (hashcode * 397) + Geo_layer_name.GetHashCode(); } if (isset.s3_endpoint) { hashcode = (hashcode * 397) + S3_endpoint.GetHashCode(); } if (isset.geo_assign_render_groups) { hashcode = (hashcode * 397) + Geo_assign_render_groups.GetHashCode(); } if (isset.geo_explode_collections) { hashcode = (hashcode * 397) + Geo_explode_collections.GetHashCode(); } } return(hashcode); }