ProducesAttribute
ProducesAttribute(Type)
ProducesAttribute(String, String[])
ContentTypes
Description
Order
StatusCode
Type
OnResultExecuted(ResultExecutedContext)
OnResultExecuting(ResultExecutingContext)
SetContentTypes(MediaTypeCollection)
net10.0
namespace Microsoft.AspNetCore.Mvc
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class ProducesAttribute : Attribute, IApiResponseMetadataProvider, IFilterMetadata, IOrderedFilter, IResultFilter
{
public virtual void OnResultExecuted(ResultExecutedContext! context);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 5.06.07.08.09.010.0 |
| .NET Core | 3.03.1 |
Information specific to net10.0 | |
| Assembly | Microsoft.AspNetCore.Mvc.Core , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API