10 instantiations of TestFilter
Microsoft.AspNetCore.Mvc.Core.Test (10)
Filters\FilterFactoryTest.cs (10)
56
var staticFilter1 = new
TestFilter
();
57
var staticFilter2 = new
TestFilter
();
93
var filter2 = new
TestFilter
();
119
var filter2 = new
TestFilter
();
148
var staticFilter = new
TestFilter
();
179
var staticFilter = new
TestFilter
();
213
var filter = new
TestFilter
(providerContext.ActionContext.HttpContext.Items["name"] as string);
221
var staticFilter = new
TestFilter
();
282
testFilter = new
TestFilter
();
288
return new
TestFilter
();
19 references to TestFilter
Microsoft.AspNetCore.Mvc.Core.Test (19)
Filters\FilterFactoryTest.cs (19)
56
var
staticFilter1 = new TestFilter();
57
var
staticFilter2 = new TestFilter();
93
var
filter2 = new TestFilter();
119
var
filter2 = new TestFilter();
148
var
staticFilter = new TestFilter();
162
var
cachedFactoryCreatedFilter = Assert.IsType<
TestFilter
>(filters[0]); // Created by factory
179
var
staticFilter = new TestFilter();
213
var
filter = new TestFilter(providerContext.ActionContext.HttpContext.Items["name"] as string);
221
var
staticFilter = new TestFilter();
237
var
request1Filter1 = Assert.IsType<
TestFilter
>(filters[0]); // Created by factory
239
var
request1Filter3 = Assert.IsType<
TestFilter
>(filters[2]); // Created by custom filter provider
248
var
request2Filter1 = Assert.IsType<
TestFilter
>(filters[0]);
251
var
request2Filter3 = Assert.IsType<
TestFilter
>(filters[2]);
272
private
TestFilter
testFilter;