mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-12-02 21:14:24 +01:00
Implement PatternAsFile for StringMatcher (#651)
This commit is contained in:
1 parent
a2a581c84b
commit
57cc616aa3
43 files changed
+817
-491
No files matched your search
@@ -1,4 +1,4 @@
|
||||
using JetBrains.Annotations;
|
||||
using JetBrains.Annotations;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace WireMock.Handlers
|
||||
@@ -89,5 +89,12 @@ namespace WireMock.Handlers
|
||||
/// <param name="filename">The filename.</param>
|
||||
/// <returns>The file content as bytes.</returns>
|
||||
byte[] ReadFile([NotNull] string filename);
|
||||
|
||||
/// <summary>
|
||||
/// Read a file as string.
|
||||
/// </summary>
|
||||
/// <param name="filename">The filename.</param>
|
||||
/// <returns>The file content as a string.</returns>
|
||||
string ReadFileAsString([NotNull] string filename);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user