/// <inheritdoc /> public bool Equals(PayloadConfiguration other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(String.Equals(SchemeName, other.SchemeName, StringComparison.OrdinalIgnoreCase) && (SchemeConfiguration == null ? other.SchemeConfiguration == null : SchemeConfiguration.SequenceEqualShortCircuiting(other.SchemeConfiguration)) && EntropyScheme == other.EntropyScheme && (EntropySchemeData == null ? other.EntropySchemeData == null : EntropySchemeData.SequenceEqualShortCircuiting(other.EntropySchemeData))); }