Use RandomDataGenerator.Net 1.0.3.0 (#231)

* Include="RandomDataGenerator.Net" Version="1.0.3"

* UndefinedBindingResult
This commit is contained in:
Stef Heyenrath
2018-11-13 09:49:46 +00:00
committed by GitHub
parent ac2ecd112f
commit 18af7a41d4
9 changed files with 220 additions and 50 deletions

View File

@@ -1,16 +1,18 @@
namespace WireMock.Transformers
using HandlebarsDotNet;
namespace WireMock.Transformers
{
internal static class HandlebarsHelpers
{
public static void Register()
public static void Register(IHandlebars handlebarsContext)
{
HandleBarsRegex.Register();
HandleBarsRegex.Register(handlebarsContext);
HandleBarsJsonPath.Register();
HandleBarsJsonPath.Register(handlebarsContext);
HandleBarsLinq.Register();
HandleBarsLinq.Register(handlebarsContext);
HandleBarsRandom.Register();
HandleBarsRandom.Register(handlebarsContext);
}
}
}