mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-29 05:11:46 +02:00
Implement PatternAsFile for StringMatcher (#651)
This commit is contained in:
18
src/WireMock.Net/Models/StringPattern.cs
Normal file
18
src/WireMock.Net/Models/StringPattern.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace WireMock.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// StringPattern which defines the Pattern as a string, and optionally the filepath pattern file.
|
||||
/// </summary>
|
||||
public struct StringPattern
|
||||
{
|
||||
/// <summary>
|
||||
/// The pattern as string.
|
||||
/// </summary>
|
||||
public string Pattern { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The filepath (optionally)
|
||||
/// </summary>
|
||||
public string PatternAsFile { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user