mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-05-03 22:24:32 +02:00
* Create WireMock.Net.MimePart project * . * REFACTOR * ILRepack * -- * ... * x * x * . * fix * public class MimePartMatcher * shared * min * . * <!--<DelaySign>true</DelaySign>--> * Update README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
15 lines
403 B
C#
15 lines
403 B
C#
// Copyright © WireMock.Net
|
|
|
|
namespace WireMock.ResponseBuilders;
|
|
|
|
public partial class Response
|
|
{
|
|
/// <inheritdoc cref="IFaultResponseBuilder.WithFault(FaultType, double?)"/>
|
|
public IResponseBuilder WithFault(FaultType faultType, double? percentage = null)
|
|
{
|
|
ResponseMessage.FaultType = faultType;
|
|
ResponseMessage.FaultPercentage = percentage;
|
|
|
|
return this;
|
|
}
|
|
} |