2 writes to HandlerType
Microsoft.AspNetCore.Mvc.RazorPages (2)
ApplicationModels\PageApplicationModel.cs (2)
39HandlerType = handlerType; 60HandlerType = other.HandlerType;
16 references to HandlerType
Microsoft.AspNetCore.Mvc.RazorPages (11)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (1)
53HandlerTypeInfo = applicationModel.HandlerType,
ApplicationModels\DefaultPageApplicationModelProvider.cs (6)
126var properties = PropertyHelper.GetVisibleProperties(pageModel.HandlerType.AsType()); 142var methods = pageModel.HandlerType.GetMethods(); 164if (typeof(IAsyncPageFilter).IsAssignableFrom(pageModel.HandlerType) || 165typeof(IPageFilter).IsAssignableFrom(pageModel.HandlerType)) 170if (typeof(IAsyncResultFilter).IsAssignableFrom(pageModel.HandlerType) || 171typeof(IResultFilter).IsAssignableFrom(pageModel.HandlerType))
ApplicationModels\PageApplicationModel.cs (2)
60HandlerType = other.HandlerType; 141/// Gets the sequence of attributes declared on <see cref="HandlerType"/>.
ApplicationModels\TempDataFilterPageApplicationModelProvider.cs (1)
31var handlerType = pageApplicationModel.HandlerType.AsType();
ApplicationModels\ViewDataAttributePageApplicationModelProvider.cs (1)
25var handlerType = context.PageApplicationModel.HandlerType.AsType();
Microsoft.AspNetCore.Mvc.RazorPages.Test (5)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (1)
89Assert.Same(pageApplicationModel.HandlerType, actual.HandlerTypeInfo);
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (4)
457Assert.Same(typeof(EmptyPage).GetTypeInfo(), pageModel.HandlerType); 480Assert.Same(typeof(EmptyPageModel).GetTypeInfo(), pageModel.HandlerType); 591Assert.Same(typeof(ModelWithHandler).GetTypeInfo(), pageModel.HandlerType); 640Assert.Same(typeof(PageWithHandler).GetTypeInfo(), pageModel.HandlerType);