10 references to Body
Microsoft.AspNetCore.Components (4)
LayoutComponentBase.cs (2)
12
/// and declare their own parameter named <see cref="
Body
"/>.
16
internal const string BodyPropertyName = nameof(
Body
);
LayoutView.cs (1)
29
/// The type must implement <see cref="IComponent"/> and accept a parameter named <see cref="LayoutComponentBase.
Body
"/>.
RouteView.cs (1)
45
/// and accept a parameter named <see cref="LayoutComponentBase.
Body
"/>.
Microsoft.AspNetCore.Components.Authorization.Tests (1)
AuthorizeRouteViewTest.cs (1)
395
builder.AddContent(1,
Body
);
Microsoft.AspNetCore.Components.Tests (5)
LayoutViewTest.cs (4)
73
frame => AssertFrame.Attribute(frame, nameof(LayoutComponentBase.
Body
), sequence: 1));
103
frame => AssertFrame.Attribute(frame, nameof(LayoutComponentBase.
Body
), sequence: 1));
135
frame => AssertFrame.Attribute(frame, nameof(LayoutComponentBase.
Body
), sequence: 1));
143
frame => AssertFrame.Attribute(frame, nameof(LayoutComponentBase.
Body
), sequence: 1),
RouteViewTest.cs (1)
73
frame => AssertFrame.Attribute(frame, nameof(LayoutComponentBase.
Body
), sequence: 1));