104 references to PageActionDescriptor
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (3)
PageLoaderMatcherPolicyTest.cs (3)
20
compiled.Endpoint = CreateEndpoint(new
PageActionDescriptor
());
39
compiled.Endpoint = CreateEndpoint(new
PageActionDescriptor
());
65
compiled.Endpoint = CreateEndpoint(new
PageActionDescriptor
());
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\PageActionDescriptorProvider.cs (1)
90
var descriptor = new
PageActionDescriptor
Microsoft.AspNetCore.Mvc.RazorPages.Test (100)
ApplicationModels\AuthorizationPageApplicationModelProviderTest.cs (1)
195
var context = new PageApplicationModelProviderContext(new
PageActionDescriptor
(), typeInfo);
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (9)
20
var actionDescriptor = new
PageActionDescriptor
49
var actionDescriptor = new
PageActionDescriptor
100
var actionDescriptor = new
PageActionDescriptor
142
var actionDescriptor = new
PageActionDescriptor
212
var actionDescriptor = new
PageActionDescriptor
();
252
var actionDescriptor = new
PageActionDescriptor
();
311
var actionDescriptor = new
PageActionDescriptor
();
353
var actionDescriptor = new
PageActionDescriptor
();
403
var actionDescriptor = new
PageActionDescriptor
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (31)
23
var descriptor = new
PageActionDescriptor
();
64
var descriptor = new
PageActionDescriptor
();
87
var descriptor = new
PageActionDescriptor
();
112
var descriptor = new
PageActionDescriptor
();
137
var descriptor = new
PageActionDescriptor
();
192
var descriptor = new
PageActionDescriptor
();
235
var descriptor = new
PageActionDescriptor
();
289
var descriptor = new
PageActionDescriptor
();
332
var descriptor = new
PageActionDescriptor
();
374
var descriptor = new
PageActionDescriptor
();
421
var descriptor = new
PageActionDescriptor
();
448
var context = new PageApplicationModelProviderContext(new
PageActionDescriptor
(), typeInfo);
469
var context = new PageApplicationModelProviderContext(new
PageActionDescriptor
(), typeInfo);
538
var context = new PageApplicationModelProviderContext(new
PageActionDescriptor
(), typeInfo);
576
var context = new PageApplicationModelProviderContext(new
PageActionDescriptor
(), typeInfo);
622
var context = new PageApplicationModelProviderContext(new
PageActionDescriptor
(), typeInfo);
674
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, new object[0]);
725
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, new object[0]);
752
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, new object[0]);
776
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, new object[0]);
806
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, new object[0]);
834
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, new object[0]);
864
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, new object[0]);
899
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, new object[0]);
942
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, new object[0]);
975
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, new object[0]);
1092
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, typeInfo.GetCustomAttributes(inherit: true));
1109
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, typeInfo.GetCustomAttributes(inherit: true));
1134
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, typeInfo.GetCustomAttributes(inherit: true));
1165
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, typeInfo.GetCustomAttributes(inherit: true));
1201
var pageModel = new PageApplicationModel(new
PageActionDescriptor
(), typeInfo, typeInfo.GetCustomAttributes(inherit: true));
ApplicationModels\ResponseCacheFilterApplicationModelProviderTest.cs (1)
149
var context = new PageApplicationModelProviderContext(new
PageActionDescriptor
(), typeInfo);
DependencyInjection\PageConventionCollectionExtensionsTest.cs (1)
1020
var descriptor = new
PageActionDescriptor
Filters\AutoValidateAntiforgeryPageApplicationModelProviderTest.cs (4)
18
var actionDescriptor = new
PageActionDescriptor
();
24
var context = new PageApplicationModelProviderContext(new
PageActionDescriptor
(), typeof(object).GetTypeInfo())
44
var descriptor = new
PageActionDescriptor
();
69
var descriptor = new
PageActionDescriptor
();
Filters\PageHandlerResultFilterTest.cs (4)
21
new
PageActionDescriptor
(),
59
new
PageActionDescriptor
(),
100
new
PageActionDescriptor
(),
142
new
PageActionDescriptor
(),
Infrastructure\CompiledPageActionDescriptorFactoryTest.cs (11)
17
var descriptor = new
PageActionDescriptor
();
43
var descriptor = new
PageActionDescriptor
();
78
var descriptor = new
PageActionDescriptor
();
106
var descriptor = new
PageActionDescriptor
();
133
var descriptor = new
PageActionDescriptor
();
164
var descriptor = new
PageActionDescriptor
();
195
var descriptor = new
PageActionDescriptor
();
226
var descriptor = new
PageActionDescriptor
();
261
var descriptor = new
PageActionDescriptor
();
295
var descriptor = new
PageActionDescriptor
();
326
var descriptor = new
PageActionDescriptor
();
Infrastructure\DefaultPageLoaderTest.cs (8)
33
var descriptor = new
PageActionDescriptor
();
94
var result = await loader.LoadAsync(new
PageActionDescriptor
(), EndpointMetadataCollection.Empty);
105
var descriptor = new
PageActionDescriptor
()
158
var descriptor = new
PageActionDescriptor
();
211
var result = await loader.LoadAsync(new
PageActionDescriptor
(), EndpointMetadataCollection.Empty);
222
var descriptor = new
PageActionDescriptor
()
276
var descriptor = new
PageActionDescriptor
()
284
var descriptor2 = new
PageActionDescriptor
()
Infrastructure\DisallowOptionsRequestsPageFilterTest.cs (1)
127
var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new
PageActionDescriptor
());
Infrastructure\DynamicPageEndpointMatcherPolicyTest.cs (3)
20
new
PageActionDescriptor
()
28
new
PageActionDescriptor
()
358
new Endpoint((ctx) => Task.CompletedTask, new EndpointMetadataCollection(new
PageActionDescriptor
()
Infrastructure\PageActionEndpointDataSourceTest.cs (6)
55
new
PageActionDescriptor
99
new
PageActionDescriptor
112
new
PageActionDescriptor
177
new
PageActionDescriptor
219
new
PageActionDescriptor
273
var action = new
PageActionDescriptor
();
Infrastructure\PageActionInvokerProviderTest.cs (10)
30
var descriptor = CreateCompiledPageActionDescriptor(new
PageActionDescriptor
80
new
PageActionDescriptor
153
var descriptor = CreateCompiledPageActionDescriptor(new
PageActionDescriptor
202
var descriptor = CreateCompiledPageActionDescriptor(new
PageActionDescriptor
248
var descriptor = CreateCompiledPageActionDescriptor(new
PageActionDescriptor
279
var descriptor = new
PageActionDescriptor
313
var descriptor = CreateCompiledPageActionDescriptor(new
PageActionDescriptor
319
var descriptor2 = CreateCompiledPageActionDescriptor(new
PageActionDescriptor
368
var descriptor = new
PageActionDescriptor
()
422
var descriptor = new
PageActionDescriptor
()
Infrastructure\PageHandlerPageFilterTest.cs (4)
21
new
PageActionDescriptor
(),
60
new
PageActionDescriptor
(),
102
new
PageActionDescriptor
(),
145
new
PageActionDescriptor
(),
Infrastructure\PageViewLocationExpanderTest.cs (1)
205
ActionDescriptor = new
PageActionDescriptor
(),
PageModelTest.cs (4)
1724
var actionContext = new ActionContext(httpContext, new RouteData(), new
PageActionDescriptor
(), modelState);
1849
new
PageActionDescriptor
(),
1883
new
PageActionDescriptor
(),
1918
new
PageActionDescriptor
(),
PageTest.cs (1)
24
var actionContext = new ActionContext(httpContext, new RouteData(), new
PageActionDescriptor
(), modelState);