5 writes to Filter
Microsoft.AspNetCore.Mvc.Abstractions (1)
Filters\FilterItem.cs (1)
38Filter = filter;
Microsoft.AspNetCore.Mvc.Core (4)
Filters\DefaultFilterProvider.cs (2)
46filterItem.Filter = filter; 52filterItem.Filter = filterFactory.CreateInstance(services);
Filters\FilterFactory.cs (2)
46item.Filter = null; 83Filter = filterItem.Filter,
15 references to Filter
Microsoft.AspNetCore.Mvc.Abstractions (3)
Filters\FilterItem.cs (2)
11/// inspect <see cref="FilterProviderContext.Results"/> and set <see cref="Filter"/> and 52/// Gets or sets a value indicating whether or not <see cref="Filter"/> can be reused across requests.
Filters\FilterProviderContext.cs (1)
34/// cache entry. <see cref="IFilterProvider"/>s should set <see cref="FilterItem.Filter"/> on existing items or
Microsoft.AspNetCore.Mvc.Core (6)
Filters\DefaultFilterProvider.cs (3)
37if (filterItem.Filter != null) 55if (filterItem.Filter == null) 62ApplyFilterToContainer(filterItem.Filter, filterFactory);
Filters\FilterFactory.cs (3)
83Filter = filterItem.Filter, 113if (filterItems[i].Filter != null) 129var filter = filterItems[i].Filter;
Microsoft.AspNetCore.Mvc.Core.Test (6)
Filters\FilterFactoryTest.cs (1)
46Assert.Null(f.Filter);
Filters\FilterProviderTest.cs (5)
34Assert.Same(filter, item.Filter); 65Assert.Same(filter, item.Filter); 97Assert.Same(filter, item.Filter); 128Assert.Same(filter.Object, item.Filter); 129Assert.Same(filterFactory.Object, ((IFilterContainer)item.Filter).FilterDefinition);