3 instantiations of LayoutAttribute
Microsoft.AspNetCore.Components.Tests (3)
LayoutViewTest.cs (2)
294[Layout(typeof(RootLayout))] 308[Layout(typeof(RootLayout))]
RouteViewTest.cs (1)
188[Layout(typeof(TestLayout))]
4 references to LayoutAttribute
Microsoft.AspNetCore.Components (3)
LayoutAttribute.cs (1)
16/// Constructs an instance of <see cref="LayoutAttribute"/>.
LayoutView.cs (1)
80=> type.GetCustomAttribute<LayoutAttribute>()?.LayoutType;
RouteView.cs (1)
79.GetOrAdd(RouteData.PageType, static type => type.GetCustomAttribute<LayoutAttribute>()?.LayoutType)
Microsoft.AspNetCore.Components.Endpoints (1)
RazorComponentEndpointHost.cs (1)
43var pageLayoutType = ComponentType.GetCustomAttribute<LayoutAttribute>()?.LayoutType;