mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-20 16:23:42 +01:00
37 lines
862 B
C#
37 lines
862 B
C#
// Copyright © WireMock.Net
|
|
|
|
using System;
|
|
|
|
namespace WireMock.Matchers.Request;
|
|
|
|
/// <summary>
|
|
/// MatchDetail
|
|
/// </summary>
|
|
public class MatchDetail
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the type of the matcher.
|
|
/// </summary>
|
|
public required Type 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; }
|
|
} |