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