Dela via


IProblemDetailsWriter Interface

Definition

Defines a type that write a ProblemDetails payload to the current Response.

public interface IProblemDetailsWriter
type IProblemDetailsWriter = interface
Public Interface IProblemDetailsWriter

Methods

CanWrite(ProblemDetailsContext)

Determines whether this instance can write a ProblemDetails to the current context.

WriteAsync(ProblemDetailsContext)

Write a ProblemDetails response to the current context

Applies to