mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-27 02:38:30 +02:00
Add Func<> matchhing. Solves issue #2
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
namespace WireMock.RequestBuilders
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace WireMock.RequestBuilders
|
||||
{
|
||||
/// <summary>
|
||||
/// The ParametersRequestBuilder interface.
|
||||
@@ -17,6 +21,17 @@
|
||||
/// <returns>
|
||||
/// The <see cref="ISpecifyRequests"/>.
|
||||
/// </returns>
|
||||
ISpecifyRequests WithParam(string key, params string[] values);
|
||||
ISpecifyRequests WithParam([NotNull] string key, params string[] values);
|
||||
|
||||
/// <summary>
|
||||
/// The with parameters.
|
||||
/// </summary>
|
||||
/// <param name="func">
|
||||
/// The func.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// The <see cref="ISpecifyRequests"/>.
|
||||
/// </returns>
|
||||
ISpecifyRequests WithParam([NotNull] Func<IDictionary<string, List<string>>, bool> func);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user