38 writes to ActionDescriptor
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
BindPropertyIntegrationTest.cs (1)
229
ActionDescriptor
= actionDescriptor,
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\PageActionInvokerProvider.cs (1)
83
ActionDescriptor
= cacheEntry.ActionDescriptor,
Microsoft.AspNetCore.Mvc.RazorPages.Test (36)
Filters\PageSaveTempDataPropertyFilterTest.cs (3)
61
ActionDescriptor
= new CompiledPageActionDescriptor(),
102
ActionDescriptor
= new CompiledPageActionDescriptor(),
142
ActionDescriptor
= new CompiledPageActionDescriptor(),
Infrastructure\DefaultPageFactoryProviderTest.cs (10)
51
ActionDescriptor
= descriptor
71
ActionDescriptor
= new CompiledPageActionDescriptor
117
ActionDescriptor
= descriptor
137
ActionDescriptor
= new CompiledPageActionDescriptor
164
ActionDescriptor
= new CompiledPageActionDescriptor
191
ActionDescriptor
= new CompiledPageActionDescriptor
217
ActionDescriptor
= new CompiledPageActionDescriptor
256
ActionDescriptor
= new CompiledPageActionDescriptor
299
ActionDescriptor
= new CompiledPageActionDescriptor
337
ActionDescriptor
= new CompiledPageActionDescriptor
Infrastructure\DefaultPageHandlerMethodSelectorTest.cs (15)
28
ActionDescriptor
= new CompiledPageActionDescriptor
75
ActionDescriptor
= new CompiledPageActionDescriptor
126
ActionDescriptor
= new CompiledPageActionDescriptor
171
ActionDescriptor
= new CompiledPageActionDescriptor
208
ActionDescriptor
= new CompiledPageActionDescriptor
250
ActionDescriptor
= new CompiledPageActionDescriptor
294
ActionDescriptor
= new CompiledPageActionDescriptor
344
ActionDescriptor
= new CompiledPageActionDescriptor
395
ActionDescriptor
= new CompiledPageActionDescriptor
445
ActionDescriptor
= new CompiledPageActionDescriptor
490
ActionDescriptor
= new CompiledPageActionDescriptor
541
ActionDescriptor
= new CompiledPageActionDescriptor
585
ActionDescriptor
= new CompiledPageActionDescriptor
640
ActionDescriptor
= new CompiledPageActionDescriptor
694
ActionDescriptor
= new CompiledPageActionDescriptor
Infrastructure\PageActionInvokerTest.cs (1)
1506
ActionDescriptor
= actionDescriptor,
Infrastructure\ServiceBasedPageModelActivatorProviderTest.cs (3)
44
ActionDescriptor
= new CompiledPageActionDescriptor
76
ActionDescriptor
= new CompiledPageActionDescriptor
107
ActionDescriptor
= new CompiledPageActionDescriptor
PageLoggerExtensionsTest.cs (4)
23
ActionDescriptor
= new CompiledPageActionDescriptor
51
ActionDescriptor
= new CompiledPageActionDescriptor
79
ActionDescriptor
= new CompiledPageActionDescriptor
107
ActionDescriptor
= new CompiledPageActionDescriptor
26 references to ActionDescriptor
Microsoft.AspNetCore.Mvc.RazorPages (11)
Infrastructure\DefaultPageFactoryProvider.cs (1)
63
page.Path = pageContext.
ActionDescriptor
.RelativePath;
Infrastructure\DefaultPageHandlerMethodSelector.cs (1)
66
var handlers = context.
ActionDescriptor
.HandlerMethods;
Infrastructure\PageActionInvoker.cs (3)
60
_actionDescriptor = pageContext.
ActionDescriptor
;
117
_viewContext.ExecutingFilePath = _pageContext.
ActionDescriptor
.RelativePath;
156
_viewContext.ExecutingFilePath = _pageContext.
ActionDescriptor
.RelativePath;
Infrastructure\PageResultExecutor.cs (1)
70
var pageAdapter = new RazorPageAdapter(result.Page, pageContext.
ActionDescriptor
.DeclaredModelTypeInfo!);
PageContext.cs (1)
123
private string DebuggerToString() =>
ActionDescriptor
?.DisplayName ?? $"{{{GetType().FullName}}}";
PageLoggerExtensions.cs (4)
29
var pageType = context.
ActionDescriptor
.PageTypeInfo.AsType();
44
var pageType = context.
ActionDescriptor
.PageTypeInfo.AsType();
59
var pageType = context.
ActionDescriptor
.PageTypeInfo.AsType();
74
var pageType = context.
ActionDescriptor
.PageTypeInfo.AsType();
Microsoft.AspNetCore.Mvc.RazorPages.Test (15)
Infrastructure\DefaultPageFactoryProviderTest.cs (10)
93
var factory = factoryProvider.CreatePageFactory(pageContext.
ActionDescriptor
);
150
var factory = factoryProvider.CreatePageFactory(pageContext.
ActionDescriptor
);
177
var factory = factoryProvider.CreatePageFactory(pageContext.
ActionDescriptor
);
202
var factory = factoryProvider.CreatePageFactory(pageContext.
ActionDescriptor
);
236
var factory = factoryProvider.CreatePageFactory(pageContext.
ActionDescriptor
);
274
var factory = factoryProvider.CreatePageFactory(pageContext.
ActionDescriptor
);
317
var factory = factoryProvider.CreatePageFactory(pageContext.
ActionDescriptor
);
320
var disposer = factoryProvider.CreatePageDisposer(pageContext.
ActionDescriptor
);
355
var factory = factoryProvider.CreatePageFactory(pageContext.
ActionDescriptor
);
358
var disposer = factoryProvider.CreateAsyncPageDisposer(pageContext.
ActionDescriptor
);
Infrastructure\PageActionInvokerProviderTest.cs (1)
140
Assert.Same(compiledPageActionDescriptor, pageContext.
ActionDescriptor
);
Infrastructure\PageActionInvokerTest.cs (1)
1562
.Returns<PageContext>(c => c.
ActionDescriptor
.HandlerMethods.FirstOrDefault());
Infrastructure\ServiceBasedPageModelActivatorProviderTest.cs (3)
51
var activator = activatorProvider.CreateActivator(pageContext.
ActionDescriptor
);
83
var activator = activatorProvider.CreateActivator(pageContext.
ActionDescriptor
);
114
var activator = activatorProvider.CreateActivator(context.
ActionDescriptor
);