// Copyright © WireMock.Net
using System;
namespace WireMock.Matchers;
///
/// Represents a matcher that combines multiple matching strategies into a single composite operation.
///
public class CompositeMatcher : IMatcher
{
///
public string Name => nameof(CompositeMatcher);
///
/// The logical operator used to combine the results of the matchers.
///
public MatchOperator MatchOperator { get; }
///
public MatchBehaviour MatchBehaviour { get; }
///
/// All matchers.
///
public IMatcher[] Matchers { get; }
///
/// Initializes a new instance of the CompositeMatcher class with the specified matchers, operator, and match behaviour.
///
/// An array of matchers to be combined. Cannot be null or contain null elements.
/// The logical operator used to combine the results of the matchers.
/// The behaviour that determines how the composite matcher interprets the combined results.
public CompositeMatcher(IMatcher[] matchers, MatchOperator matchOperator, MatchBehaviour matchBehaviour)
{
Matchers = matchers;
MatchOperator = matchOperator;
MatchBehaviour = matchBehaviour;
}
///
public string GetCSharpCodeArguments()
{
throw new NotImplementedException();
}
}