1 instantiation of TestPageModel
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageActionInvokerTest.cs (1)
309modelFactory: context => new TestPageModel() { PageContext = context });
11 references to TestPageModel
Microsoft.AspNetCore.Mvc.RazorPages.Test (11)
Infrastructure\PageActionInvokerTest.cs (11)
315var pageModel = Assert.IsType<TestPageModel>(instance); 316Assert.IsType<ViewDataDictionary<TestPageModel>>(pageModel.PageContext.ViewData); 1412? $"{typeof(PageActionInvokerTest).FullName}+{nameof(TestPageModel)}.{nameof(TestPageModel.OnGetHandler1)}" 1638HandlerTypeInfo = typeof(TestPageModel).GetTypeInfo(), 1639ModelTypeInfo = typeof(TestPageModel).GetTypeInfo(), 1649MethodInfo = typeof(TestPageModel).GetTypeInfo().GetMethod(nameof(TestPageModel.OnGetHandler1)), 1655MethodInfo = typeof(TestPageModel).GetTypeInfo().GetMethod(nameof(TestPageModel.OnGetHandler2)),