6 references to Controller
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (4)
ApiResponseTypeProviderTest.cs (4)
82
new FilterDescriptor(new ProducesResponseTypeAttribute(typeof(object), 201), FilterScope.
Controller
),
83
new FilterDescriptor(new ProducesResponseTypeAttribute(typeof(ProblemDetails), 400), FilterScope.
Controller
),
570
actionDescriptor.FilterDescriptors.Add(new FilterDescriptor(new ProducesAttribute("application/json"), FilterScope.
Controller
));
620
actionDescriptor.FilterDescriptors.Add(new FilterDescriptor(new ProducesAttribute("application/json") { Type = typeof(string) }, FilterScope.
Controller
));
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
175
.Concat(controllerFilters.Select(f => new FilterDescriptor(f, FilterScope.
Controller
)))
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
74
Assert.Equal(FilterScope.
Controller
, filter2.Scope);