mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-16 23:26:52 +01:00
15 lines
351 B
C#
15 lines
351 B
C#
// Copyright © WireMock.Net
|
|
|
|
using WireMock.Types;
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
namespace WireMock.Util;
|
|
|
|
// ReSharper disable once InconsistentNaming
|
|
public static class IBodyDataExtensions
|
|
{
|
|
public static BodyType GetDetectedBodyType(this IBodyData bodyData)
|
|
{
|
|
return bodyData.DetectedBodyType ?? BodyType.None;
|
|
}
|
|
} |