11 references to Global
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
ApiResponseTypeProviderTest.cs (1)
81
new FilterDescriptor(new ProducesResponseTypeAttribute(400), FilterScope.
Global
),
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
176
.Concat(globalFilters.Select(f => new FilterDescriptor(f, FilterScope.
Global
)))
Microsoft.AspNetCore.Mvc.Core.Test (7)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
70
Assert.Equal(FilterScope.
Global
, filter1.Scope);
Filters\FilterFactoryTest.cs (2)
34
var filter = new FilterDescriptor(new TypeFilterAttribute(typeof(object)), FilterScope.
Global
);
215
new FilterItem(new FilterDescriptor(filter, FilterScope.
Global
), filter)
Filters\FilterProviderTest.cs (4)
21
new FilterItem(new FilterDescriptor(filter, FilterScope.
Global
)),
52
new FilterItem(new FilterDescriptor(filterFactory.Object, FilterScope.
Global
)),
85
new FilterItem(new FilterDescriptor(filterFactory.Object, FilterScope.
Global
)),
116
new FilterItem(new FilterDescriptor(filterFactory.Object, FilterScope.
Global
)),
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (1)
28
globalFilters.Select(f => new FilterDescriptor(f, FilterScope.
Global
)),
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (1)
175
Assert.Equal(FilterScope.
Global
, filterDescriptor.Scope);