2 instantiations of PageHandlerModel
Microsoft.AspNetCore.Mvc.RazorPages (2)
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (1)
47var handlerModel = new PageHandlerModel(
ApplicationModels\PageApplicationModel.cs (1)
67HandlerMethods = new List<PageHandlerModel>(other.HandlerMethods.Select(m => new PageHandlerModel(m)));
28 references to PageHandlerModel
Microsoft.AspNetCore.Mvc.RazorPages (28)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (2)
82var handlerModel = handlerModels[i]; 97internal static HandlerParameterDescriptor[] CreateHandlerParameters(PageHandlerModel handlerModel)
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (4)
29/// Creates a <see cref="PageHandlerModel"/> for the specified <paramref name="method"/>.s 32/// <returns>The <see cref="PageHandlerModel"/>.</returns> 33public PageHandlerModel? CreateHandlerModel(MethodInfo method) 47var handlerModel = new PageHandlerModel(
ApplicationModels\DefaultPageApplicationModelProvider.cs (1)
146var handler = _pageApplicationModelPartsProvider.CreateHandlerModel(methods[i]);
ApplicationModels\IPageApplicationModelPartsProvider.cs (3)
14/// Creates a <see cref="PageHandlerModel"/> for the specified <paramref name="method"/>.s 17/// <returns>The <see cref="PageHandlerModel"/>.</returns> 18PageHandlerModel? CreateHandlerModel(MethodInfo method);
ApplicationModels\IPageHandlerModelConvention.cs (4)
7/// Allows customization of the <see cref="PageHandlerModel"/>. 12/// Called to apply the convention to the <see cref="PageHandlerModel"/>. 14/// <param name="model">The <see cref="PageHandlerModel"/>.</param> 15void Apply(PageHandlerModel model);
ApplicationModels\PageApplicationModel.cs (5)
45HandlerMethods = new List<PageHandlerModel>(); 67HandlerMethods = new List<PageHandlerModel>(other.HandlerMethods.Select(m => new PageHandlerModel(m))); 146/// Gets the sequence of <see cref="PageHandlerModel"/> instances. 148public IList<PageHandlerModel> HandlerMethods { get; } 151/// Gets the sequence of <see cref="PagePropertyModel"/> instances on <see cref="PageHandlerModel"/>.
ApplicationModels\PageHandlerModel.cs (6)
13[DebuggerDisplay("Type = {GetType().Name}, Name = {" + nameof(PageHandlerModel.Name) + "}")] 17/// Creates a new <see cref="PageHandlerModel"/>. 33/// Creates a new instance of <see cref="PageHandlerModel"/> from a given <see cref="PageHandlerModel"/>. 35/// <param name="other">The <see cref="PageHandlerModel"/> which needs to be copied.</param> 36public PageHandlerModel(PageHandlerModel other)
ApplicationModels\PageParameterModel.cs (2)
45/// The <see cref="PageHandlerModel"/>. 47public PageHandlerModel Handler { get; set; } = default!;
Infrastructure\CompiledPageActionDescriptorFactory.cs (1)
67foreach (var handlerModel in handlers)