mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-14 12:39:37 +02:00
35 lines
849 B
C#
35 lines
849 B
C#
// Copyright © WireMock.Net
|
|
|
|
namespace WireMock.Matchers.Request;
|
|
|
|
/// <summary>
|
|
/// MatchDetail
|
|
/// </summary>
|
|
public class MatchDetail
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the type of the matcher.
|
|
/// </summary>
|
|
public required string MatcherType { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the type of the matcher.
|
|
/// </summary>
|
|
public required string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the score between 0.0 and 1.0
|
|
/// </summary>
|
|
public double Score { get; set; }
|
|
|
|
/// <summary>
|
|
/// The exception in case the Matcher throws exception.
|
|
/// [Optional]
|
|
/// </summary>
|
|
public Exception? Exception { get; set; }
|
|
|
|
/// <summary>
|
|
/// The child MatchResults in case of multiple matchers.
|
|
/// </summary>
|
|
public MatchDetail[]? MatchDetails { get; set; }
|
|
} |