mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-02-19 00:37:42 +01:00
* RejectOnMatch (wip) * RejectOnMatch (wip) * RejectOnMatch (wip) * RejectOnMatch (wip) * docs: improve sample app matcher to show use of reject on match * Reworked code review comments
22 lines
611 B
C#
22 lines
611 B
C#
namespace WireMock.Matchers
|
|
{
|
|
/// <summary>
|
|
/// IStringMatcher
|
|
/// </summary>
|
|
/// <inheritdoc cref="IMatcher"/>
|
|
public interface IStringMatcher : IMatcher
|
|
{
|
|
/// <summary>
|
|
/// Determines whether the specified input is match.
|
|
/// </summary>
|
|
/// <param name="input">The input.</param>
|
|
/// <returns>A value between 0.0 - 1.0 of the similarity.</returns>
|
|
double IsMatch(string input);
|
|
|
|
/// <summary>
|
|
/// Gets the patterns.
|
|
/// </summary>
|
|
/// <returns>Patterns</returns>
|
|
string[] GetPatterns();
|
|
}
|
|
} |