/// <summary> /// Initializes a new <see cref="MessageEqualityComparer"/> /// </summary> /// <param name="ignoredHeaders">(Optional) The headers to ignore</param> public MessageEqualityComparer(IEnumerable <HeaderName> ignoredHeaders) { _headersEqualityComparer = new MessageHeadersEqualityComparer(ignoredHeaders); }
/// <summary> /// Initializes a new <see cref="MessageEqualityComparer"/> /// </summary> /// <param name="ignoredHeaders">(Optional) The headers to ignore</param> public MessageEqualityComparer(params HeaderName[] ignoredHeaders) { _headersEqualityComparer = new MessageHeadersEqualityComparer(ignoredHeaders); }