Started with PartialMapping ...

This commit is contained in:
Stef Heyenrath
2017-02-03 16:35:37 +01:00
parent d1aa517f99
commit 841da80291
3 changed files with 45 additions and 26 deletions

View File

@@ -32,6 +32,8 @@ namespace WireMock.Server
private TimeSpan _requestProcessingDelay = TimeSpan.Zero;
private bool _allowPartialMapping;
/// <summary>
/// Gets the ports.
/// </summary>
@@ -261,6 +263,17 @@ namespace WireMock.Server
}
}
/// <summary>
/// Allows the partial mapping.
/// </summary>
public void AllowPartialMapping()
{
lock (_syncRoot)
{
_allowPartialMapping = true;
}
}
/// <summary>
/// The given.
/// </summary>