1 write to ViewDataFactory
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\PageActionInvokerCacheEntry.cs (1)
28ViewDataFactory = viewDataFactory;
4 references to ViewDataFactory
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageActionInvokerProvider.cs (1)
85ViewData = cacheEntry.ViewDataFactory(_modelMetadataProvider, actionContext.ModelState),
Infrastructure\PageRequestDelegateFactory.cs (1)
99pageContext.ViewData = cacheEntry.ViewDataFactory(_modelMetadataProvider, pageContext.ModelState);
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Infrastructure\PageActionInvokerProviderTest.cs (2)
72Assert.NotNull(entry.ViewDataFactory); 137Assert.NotNull(entry.ViewDataFactory);