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