5 writes to Filter
Microsoft.AspNetCore.Mvc.Abstractions (1)
Filters\FilterItem.cs (1)
38
Filter
= filter;
Microsoft.AspNetCore.Mvc.Core (4)
Filters\DefaultFilterProvider.cs (2)
46
filterItem.
Filter
= filter;
52
filterItem.
Filter
= filterFactory.CreateInstance(services);
Filters\FilterFactory.cs (2)
46
item.
Filter
= null;
83
Filter
= 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)
37
if (filterItem.
Filter
!= null)
55
if (filterItem.
Filter
== null)
62
ApplyFilterToContainer(filterItem.
Filter
, filterFactory);
Filters\FilterFactory.cs (3)
83
Filter = filterItem.
Filter
,
113
if (filterItems[i].
Filter
!= null)
129
var filter = filterItems[i].
Filter
;
Microsoft.AspNetCore.Mvc.Core.Test (6)
Filters\FilterFactoryTest.cs (1)
46
Assert.Null(f.
Filter
);
Filters\FilterProviderTest.cs (5)
34
Assert.Same(filter, item.
Filter
);
65
Assert.Same(filter, item.
Filter
);
97
Assert.Same(filter, item.
Filter
);
128
Assert.Same(filter.Object, item.
Filter
);
129
Assert.Same(filterFactory.Object, ((IFilterContainer)item.
Filter
).FilterDefinition);