mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-24 01:51:02 +01:00
30 lines
932 B
C#
30 lines
932 B
C#
using HandlebarsDotNet;
|
|
using HandlebarsDotNet.Helpers;
|
|
using WireMock.Handlers;
|
|
|
|
namespace WireMock.Transformers.Handlebars
|
|
{
|
|
internal static class WireMockHandlebarsHelpers
|
|
{
|
|
public static void Register(IHandlebars handlebarsContext, IFileSystemHandler fileSystemHandler)
|
|
{
|
|
// Register https://github.com/StefH/Handlebars.Net.Helpers
|
|
HandlebarsHelpers.Register(handlebarsContext);
|
|
|
|
// Register WireMock.Net specific helpers
|
|
HandlebarsRegex.Register(handlebarsContext);
|
|
|
|
HandlebarsJsonPath.Register(handlebarsContext);
|
|
|
|
HandlebarsLinq.Register(handlebarsContext);
|
|
|
|
HandlebarsRandom.Register(handlebarsContext);
|
|
|
|
HandlebarsXeger.Register(handlebarsContext);
|
|
|
|
HandlebarsXPath.Register(handlebarsContext);
|
|
|
|
HandlebarsFile.Register(handlebarsContext, fileSystemHandler);
|
|
}
|
|
}
|
|
} |