mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-27 19:41:08 +01:00
Use NuGet "Stef.Validation" (#707)
* Use NuGet "Stef.Validation" * nuget * .
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using WireMock.Handlers;
|
||||
using WireMock.Types;
|
||||
using WireMock.Validation;
|
||||
using Stef.Validation;
|
||||
|
||||
namespace WireMock.Transformers.Scriban
|
||||
{
|
||||
@@ -11,8 +11,8 @@ namespace WireMock.Transformers.Scriban
|
||||
|
||||
public ScribanContextFactory(IFileSystemHandler fileSystemHandler, TransformerType transformerType)
|
||||
{
|
||||
Check.NotNull(fileSystemHandler, nameof(fileSystemHandler));
|
||||
Check.Condition(transformerType, t => t == TransformerType.Scriban || t == TransformerType.ScribanDotLiquid, nameof(transformerType));
|
||||
Guard.NotNull(fileSystemHandler, nameof(fileSystemHandler));
|
||||
Guard.Condition(transformerType, t => t == TransformerType.Scriban || t == TransformerType.ScribanDotLiquid, nameof(transformerType));
|
||||
|
||||
_fileSystemHandler = fileSystemHandler;
|
||||
_transformerType = transformerType;
|
||||
|
||||
Reference in New Issue
Block a user