/// <inheritdoc/> public override int GetHashCode() => Language.GetHashCode() + (2 * DataPath.GetHashCode()) + (3 * (int)(EngineMode + 1)) + (4 * (PixelsPerInch + 1)) + (5 * (int)(PageSegmentation + 1)) + (6 * Whitelist.GetHashCode()) + (7 * Blacklist.GetHashCode()) + (Numeric ? 8 : 0) + (9 * Config.GetHashCode());
public override int GetHashCode() { unchecked { var hashCode = (VaultUri != null ? VaultUri.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)AuthenticationType; hashCode = (hashCode * 397) ^ (RoleId != null ? RoleId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (SecretId != null ? SecretId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Username != null ? Username.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Password != null ? Password.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Token != null ? Token.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)SecretsEngine; hashCode = (hashCode * 397) ^ (SecretsEnginePath != null ? SecretsEnginePath.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DataPath != null ? DataPath.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Namespace != null ? Namespace.GetHashCode() : 0); return(hashCode); } }