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