Add DeserializeFormUrl Encoded to the settings (#905)

* Add DeserializeFormUrlEncoded to Settings

* EmptyArray<>.Value

* .
This commit is contained in:
Stef Heyenrath
2023-03-19 09:19:53 +01:00
committed by GitHub
parent 52d2109c7e
commit 1221d52c69
20 changed files with 101 additions and 187 deletions

View File

@@ -1,3 +1,4 @@
using System;
using System.Linq;
using AnyOfTypes;
using WireMock.Models;
@@ -62,7 +63,7 @@ public class NotNullOrEmptyMatcher : IObjectMatcher, IStringMatcher
/// <inheritdoc cref="IStringMatcher.GetPatterns"/>
public AnyOf<string, StringPattern>[] GetPatterns()
{
return new AnyOf<string, StringPattern>[0];
return EmptyArray<AnyOf<string, StringPattern>>.Value;
}
/// <inheritdoc />