8 instantiations of PageParameterModel
Microsoft.AspNetCore.Mvc.RazorPages (2)
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (1)
92return new PageParameterModel(parameter, attributes)
ApplicationModels\PageHandlerModel.cs (1)
52Parameters = new List<PageParameterModel>(other.Parameters.Select(p => new PageParameterModel(p) { Handler = this }));
Microsoft.AspNetCore.Mvc.RazorPages.Test (6)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (2)
256var parameterModel1 = new PageParameterModel(parameters[0], new object[0]) 260var parameterModel2 = new PageParameterModel(parameters[1], new object[0])
Infrastructure\CompiledPageActionDescriptorFactoryTest.cs (4)
171var parameterModel = new PageParameterModel(parameterInfo, new[] { parameterModelConvention.Object }); 201var parameterModel = new PageParameterModel(parameterInfo, Array.Empty<object>()); 233var parameterModel = new PageParameterModel(parameterInfo, new[] { parameterModelConvention.Object }) 268var parameterModel = new PageParameterModel(parameterInfo, Array.Empty<object>());
23 references to PageParameterModel
Microsoft.AspNetCore.Mvc.RazorPages (15)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (1)
104var parameterModel = methodParameters[i];
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (4)
61var parameterModel = CreateParameterModel(parameter); 71/// Creates a <see cref="PageParameterModel"/> for the specified <paramref name="parameter"/>. 74/// <returns>The <see cref="PageParameterModel"/>.</returns> 75public PageParameterModel CreateParameterModel(ParameterInfo parameter)
ApplicationModels\IPageApplicationModelPartsProvider.cs (3)
21/// Creates a <see cref="PageParameterModel"/> for the specified <paramref name="parameter"/>. 24/// <returns>The <see cref="PageParameterModel"/>.</returns> 25PageParameterModel CreateParameterModel(ParameterInfo parameter);
ApplicationModels\PageHandlerModel.cs (4)
28Parameters = new List<PageParameterModel>(); 52Parameters = new List<PageParameterModel>(other.Parameters.Select(p => new PageParameterModel(p) { Handler = this })); 76/// Gets the sequence of <see cref="PageParameterModel"/> instances. 78public IList<PageParameterModel> Parameters { get; }
ApplicationModels\PageParameterModel.cs (2)
16/// Initializes a new instance of a <see cref="PageParameterModel"/>. 35public PageParameterModel(PageParameterModel other)
Infrastructure\CompiledPageActionDescriptorFactory.cs (1)
76foreach (var parameterModel in parameterModels)
Microsoft.AspNetCore.Mvc.RazorPages.Test (8)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (2)
256var parameterModel1 = new PageParameterModel(parameters[0], new object[0]) 260var parameterModel2 = new PageParameterModel(parameters[1], new object[0])
Infrastructure\CompiledPageActionDescriptorFactoryTest.cs (6)
171var parameterModel = new PageParameterModel(parameterInfo, new[] { parameterModelConvention.Object }); 201var parameterModel = new PageParameterModel(parameterInfo, Array.Empty<object>()); 233var parameterModel = new PageParameterModel(parameterInfo, new[] { parameterModelConvention.Object }) 244var model = Assert.IsType<PageParameterModel>(m); 268var parameterModel = new PageParameterModel(parameterInfo, Array.Empty<object>());