45 references to PageApplicationModel
Microsoft.AspNetCore.Mvc.RazorPages.Test (45)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (7)
31var pageApplicationModel = new PageApplicationModel(actionDescriptor, handlerTypeInfo, new object[0]); 152var pageApplicationModel = new PageApplicationModel(actionDescriptor, handlerTypeInfo, new object[0]) 219var pageApplicationModel = new PageApplicationModel(actionDescriptor, handlerTypeInfo, new object[0]) 272var pageApplicationModel = new PageApplicationModel(actionDescriptor, handlerTypeInfo, new object[0]) 320var pageApplicationModel = new PageApplicationModel(actionDescriptor, handlerTypeInfo, new object[0]) 368var pageApplicationModel = new PageApplicationModel(actionDescriptor, handlerTypeInfo, new object[0]) 414var pageApplicationModel = new PageApplicationModel(actionDescriptor, handlerTypeInfo, new[] { metadata1, metadata2, });
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (15)
674var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, new object[0]); 725var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, new object[0]); 752var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, new object[0]); 776var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, new object[0]); 806var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, new object[0]); 834var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, new object[0]); 864var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, new object[0]); 899var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, new object[0]); 942var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, new object[0]); 975var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, new object[0]); 1092var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, typeInfo.GetCustomAttributes(inherit: true)); 1109var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, typeInfo.GetCustomAttributes(inherit: true)); 1134var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, typeInfo.GetCustomAttributes(inherit: true)); 1165var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, typeInfo.GetCustomAttributes(inherit: true)); 1201var pageModel = new PageApplicationModel(new PageActionDescriptor(), typeInfo, typeInfo.GetCustomAttributes(inherit: true));
ApplicationModels\TempDataFilterPageApplicationModelProviderTest.cs (1)
125PageApplicationModel = new PageApplicationModel(descriptor, handlerType.GetTypeInfo(), Array.Empty<object>()),
ApplicationModels\ViewDataAttributePageApplicationModelProviderTest.cs (1)
51PageApplicationModel = new PageApplicationModel(descriptor, handlerType.GetTypeInfo(), Array.Empty<object>()),
DependencyInjection\PageConventionCollectionExtensionsTest.cs (1)
1027return new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), new object[0]);
Filters\AutoValidateAntiforgeryPageApplicationModelProviderTest.cs (3)
19var applicationModel = new PageApplicationModel( 48PageApplicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()) 73PageApplicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>())
Infrastructure\CompiledPageActionDescriptorFactoryTest.cs (11)
18var model = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 45var model = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), new[] { handlerConvention.Object }); 82var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 109var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 137var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 168var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 199var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 230var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 266var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 299var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 329var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
Infrastructure\DefaultPageLoaderTest.cs (6)
44var pageApplicationModel1 = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 45var pageApplicationModel2 = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 125var pageApplicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 173c.PageApplicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 242var pageApplicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>()); 308c.PageApplicationModel = new PageApplicationModel(c.ActionDescriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());