mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-15 06:43:37 +01:00
* Add new package WireMock.Net.Extensions.Routing * Update documentation for WireMock.Net.Extensions.Routing * Cleanup imports * Add header to all source files inside WireMock.Net.Extensions.Routing * Add header to all source files inside WireMock.Net.Extensions.Routing.Tests * Revert unintended changes * Remove redundant build configurations * Remove incorrect links from documentation * Update nuget package references * Revert unintended changes * Migrate to AwesomeAssertions * Remove redundant project reference * Adjust formatting * Migrate to primary constructor * Refactoring: rename delegate parameter * Abstract over JSON converter * Replace WireMock with WireMock.Net in comments * Move local functions to the bottom of the methods
10 lines
220 B
C#
10 lines
220 B
C#
// Copyright © WireMock.Net
|
|
|
|
namespace WireMock.Net.Extensions.Routing.Extensions;
|
|
|
|
internal static class StringExtensions
|
|
{
|
|
public static string ToMatchFullStringRegex(this string regex) =>
|
|
$"^{regex}$";
|
|
}
|