1 instantiation of TestModel
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (1)
186public TestModel Model { get; } = new TestModel();
12 references to TestModel
Microsoft.AspNetCore.Mvc.RazorPages.Test (12)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (12)
58var handlerTypeInfo = typeof(TestModel).GetTypeInfo(); 59var pageApplicationModel = new PageApplicationModel(actionDescriptor, typeof(TestModel).GetTypeInfo(), handlerTypeInfo, new object[0]) 62ModelType = typeof(TestModel).GetTypeInfo(), 70new PageHandlerModel(handlerTypeInfo.GetMethod(nameof(TestModel.OnGet)), new object[0]), 74new PagePropertyModel(handlerTypeInfo.GetProperty(nameof(TestModel.Property)), new object[0]) 109var handlerTypeInfo = typeof(TestModel).GetTypeInfo(); 110var pageApplicationModel = new PageApplicationModel(actionDescriptor, typeof(TestModel).GetTypeInfo(), handlerTypeInfo, new object[0]) 121new PageHandlerModel(handlerTypeInfo.GetMethod(nameof(TestModel.OnGet)), new object[0]), 125new PagePropertyModel(handlerTypeInfo.GetProperty(nameof(TestModel.Property)), new object[0]) 151var handlerTypeInfo = typeof(TestModel).GetTypeInfo(); 155ModelType = typeof(TestModel).GetTypeInfo(), 186public TestModel Model { get; } = new TestModel();