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