mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-26 10:18:26 +02:00
Use RandomDataGenerator.Net 1.0.3.0 (#231)
* Include="RandomDataGenerator.Net" Version="1.0.3" * UndefinedBindingResult
This commit is contained in:
@@ -11,9 +11,9 @@ namespace WireMock.Transformers
|
||||
{
|
||||
internal static class HandleBarsLinq
|
||||
{
|
||||
public static void Register()
|
||||
public static void Register(IHandlebars handlebarsContext)
|
||||
{
|
||||
Handlebars.RegisterHelper("Linq", (writer, context, arguments) =>
|
||||
handlebarsContext.RegisterHelper("Linq", (writer, context, arguments) =>
|
||||
{
|
||||
(JToken valueToProcess, string linqStatement) = ParseArguments(arguments);
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace WireMock.Transformers
|
||||
}
|
||||
});
|
||||
|
||||
Handlebars.RegisterHelper("Linq", (writer, options, context, arguments) =>
|
||||
handlebarsContext.RegisterHelper("Linq", (writer, options, context, arguments) =>
|
||||
{
|
||||
(JToken valueToProcess, string linqStatement) = ParseArguments(arguments);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user