2 writes to HandlerTypeAttributes
Microsoft.AspNetCore.Mvc.RazorPages (2)
ApplicationModels\PageApplicationModel.cs (2)
47
HandlerTypeAttributes
= handlerAttributes;
69
HandlerTypeAttributes
= other.HandlerTypeAttributes;
8 references to HandlerTypeAttributes
Microsoft.AspNetCore.Mvc.RazorPages (8)
ApplicationModels\AuthorizationPageApplicationModelProvider.cs (2)
39
var authorizeData = pageModel.
HandlerTypeAttributes
.OfType<IAuthorizeData>().ToArray();
44
foreach (var _ in pageModel.
HandlerTypeAttributes
.OfType<IAllowAnonymous>())
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (1)
64
var handlerMetatdata = applicationModel.
HandlerTypeAttributes
;
ApplicationModels\DefaultPageApplicationModelProvider.cs (2)
156
for (var i = 0; i < pageModel.
HandlerTypeAttributes
.Count; i++)
158
if (pageModel.
HandlerTypeAttributes
[i] is IFilterMetadata filter)
ApplicationModels\PageApplicationModel.cs (1)
69
HandlerTypeAttributes = other.
HandlerTypeAttributes
;
ApplicationModels\ResponseCacheFilterApplicationModelProvider.cs (1)
32
var responseCacheAttributes = pageModel.
HandlerTypeAttributes
.OfType<ResponseCacheAttribute>();
Infrastructure\CompiledPageActionDescriptorFactory.cs (1)
60
var applicationModelConventions = GetConventions<IPageApplicationModelConvention>(pageApplicationModel.
HandlerTypeAttributes
);