This commit is contained in:
Stef Heyenrath
2026-01-12 18:26:06 +01:00
parent 83922fd543
commit 403fc01867
3 changed files with 2 additions and 9 deletions

View File

@@ -29,15 +29,13 @@ public class RequestMatchResult : IRequestMatchResult
/// <inheritdoc />
public double AddScore(Type matcherType, double score, Exception? exception)
{
MatchDetails.Add(new MatchDetail
return AddMatchDetail(new MatchDetail
{
Name = matcherType.Name.Replace("RequestMessage", string.Empty),
MatcherType = matcherType,
Score = score,
Exception = exception
});
return score;
}
/// <inheritdoc />