7 implementations of WriteAsync
Microsoft.AspNetCore.Mvc.Core (3)
Formatters\HttpNoContentOutputFormatter.cs (1)
34public Task WriteAsync(OutputFormatterWriteContext context)
Formatters\OutputFormatter.cs (1)
157public virtual Task WriteAsync(OutputFormatterWriteContext context)
Formatters\StreamOutputFormatter.cs (1)
27public async Task WriteAsync(OutputFormatterWriteContext context)
Microsoft.AspNetCore.Mvc.Core.Test (4)
Infrastructure\DefaultApiProblemDetailsWriterTest.cs (1)
243public Task WriteAsync(OutputFormatterWriteContext context)
Infrastructure\DefaultOutputFormatterSelectorTest.cs (1)
386public virtual Task WriteAsync(OutputFormatterWriteContext context)
Infrastructure\ObjectResultExecutorTest.cs (1)
492public virtual Task WriteAsync(OutputFormatterWriteContext context)
ObjectResultTests.cs (1)
177public Task WriteAsync(OutputFormatterWriteContext context)
9 references to WriteAsync
Microsoft.AspNetCore.Mvc.Abstractions (2)
Formatters\OutputFormatterCanWriteContext.cs (1)
37/// <see cref="IOutputFormatter.WriteAsync(OutputFormatterWriteContext)"/>
Formatters\OutputFormatterWriteContext.cs (1)
10/// A context object for <see cref="IOutputFormatter.WriteAsync(OutputFormatterWriteContext)"/>.
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\DefaultApiProblemDetailsWriter.cs (1)
88return new ValueTask(selectedFormatter.WriteAsync(formatterContext));
Infrastructure\ObjectResultExecutor.cs (1)
119return selectedFormatter.WriteAsync(formatterContext);
Microsoft.AspNetCore.Mvc.Core.Test (4)
AcceptedAtActionResultTests.cs (1)
125formatter.Setup(f => f.WriteAsync(It.IsAny<OutputFormatterWriteContext>()))
AcceptedAtRouteResultTests.cs (1)
56formatter.Setup(f => f.WriteAsync(It.IsAny<OutputFormatterWriteContext>()))
AcceptedResultTests.cs (1)
52formatter.Setup(f => f.WriteAsync(It.IsAny<OutputFormatterWriteContext>()))
Infrastructure\ControllerActionInvokerTest.cs (1)
1725.Setup(f => f.WriteAsync(It.IsAny<OutputFormatterWriteContext>()))
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
NewtonsoftJsonOutputFormatter.cs (1)
126/// <param name="context">A context object for <see cref="IOutputFormatter.WriteAsync(OutputFormatterWriteContext)"/>.</param>