15 references to Layout
Microsoft.AspNetCore.Components (2)
LayoutView.cs (1)
57var layoutType = Layout;
RouteView.cs (1)
83builder.AddComponentParameter(1, nameof(LayoutView.Layout), pageLayoutType);
Microsoft.AspNetCore.Components.Authorization (1)
AuthorizeRouteView.cs (1)
107builder.AddComponentParameter(1, nameof(LayoutView.Layout), DefaultLayout);
Microsoft.AspNetCore.Components.Endpoints (1)
RazorComponentEndpointHost.cs (1)
46builder.AddComponentParameter(1, nameof(LayoutView.Layout), pageLayoutType);
Microsoft.AspNetCore.Components.Tests (11)
LayoutViewTest.cs (7)
63{ nameof(LayoutView.Layout), typeof(RootLayout) } 89{ nameof(LayoutView.Layout), typeof(RootLayout) }, 121{ nameof(LayoutView.Layout), typeof(NestedLayout) }, 162{ nameof(LayoutView.Layout), typeof(NestedLayout) }, 172{ nameof(LayoutView.Layout), typeof(NestedLayout) }, 206{ nameof(LayoutView.Layout), typeof(NestedLayout) }, 216{ nameof(LayoutView.Layout), typeof(OtherNestedLayout) },
RouteViewTest.cs (4)
65frame => AssertFrame.Attribute(frame, nameof(LayoutView.Layout), (object)typeof(TestLayout), sequence: 1), 115frame => AssertFrame.Attribute(frame, nameof(LayoutView.Layout), (object)typeof(OtherLayout), sequence: 1), 138frame => AssertFrame.Attribute(frame, nameof(LayoutView.Layout), (object)null, sequence: 1), 162frame => AssertFrame.Attribute(frame, nameof(LayoutView.Layout), (object)typeof(TestLayout), sequence: 1),