1 instantiation of LayoutView
Microsoft.AspNetCore.Components.Tests (1)
38 references to LayoutView
Microsoft.AspNetCore.Components (3)
Microsoft.AspNetCore.Components.Authorization (3)
Microsoft.AspNetCore.Components.Authorization.Tests (2)
Microsoft.AspNetCore.Components.Endpoints (3)
Microsoft.AspNetCore.Components.Tests (27)
LayoutViewTest.cs (14)
13private readonly LayoutView _layoutViewComponent;
42{ nameof(LayoutView.ChildContent), (RenderFragment)(builder => {
63{ nameof(LayoutView.Layout), typeof(RootLayout) }
89{ nameof(LayoutView.Layout), typeof(RootLayout) },
90{ nameof(LayoutView.ChildContent), (RenderFragment)(builder => {
121{ nameof(LayoutView.Layout), typeof(NestedLayout) },
122{ nameof(LayoutView.ChildContent), (RenderFragment)(builder => {
162{ nameof(LayoutView.Layout), typeof(NestedLayout) },
163{ nameof(LayoutView.ChildContent), (RenderFragment)(builder => {
172{ nameof(LayoutView.Layout), typeof(NestedLayout) },
173{ nameof(LayoutView.ChildContent), (RenderFragment)(builder => {
206{ nameof(LayoutView.Layout), typeof(NestedLayout) },
207{ nameof(LayoutView.ChildContent), (RenderFragment)(builder => {
216{ nameof(LayoutView.Layout), typeof(OtherNestedLayout) },
RouteViewTest.cs (13)
64frame => AssertFrame.Component<LayoutView>(frame, subtreeLength: 3, sequence: 0),
65frame => AssertFrame.Attribute(frame, nameof(LayoutView.Layout), (object)typeof(TestLayout), sequence: 1),
66frame => AssertFrame.Attribute(frame, nameof(LayoutView.ChildContent), sequence: 2));
69var layoutViewComponentId = batch.GetComponentFrames<LayoutView>().Single().ComponentId;
114frame => AssertFrame.Component<LayoutView>(frame, subtreeLength: 3, sequence: 0),
115frame => AssertFrame.Attribute(frame, nameof(LayoutView.Layout), (object)typeof(OtherLayout), sequence: 1),
116frame => AssertFrame.Attribute(frame, nameof(LayoutView.ChildContent), sequence: 2));
137frame => AssertFrame.Component<LayoutView>(frame, subtreeLength: 3, sequence: 0),
138frame => AssertFrame.Attribute(frame, nameof(LayoutView.Layout), (object)null, sequence: 1),
139frame => AssertFrame.Attribute(frame, nameof(LayoutView.ChildContent), sequence: 2));
161frame => AssertFrame.Component<LayoutView>(frame, subtreeLength: 3, sequence: 0),
162frame => AssertFrame.Attribute(frame, nameof(LayoutView.Layout), (object)typeof(TestLayout), sequence: 1),
163frame => AssertFrame.Attribute(frame, nameof(LayoutView.ChildContent), sequence: 2));