11 references to FakeComponent
Microsoft.AspNetCore.Components.Tests (11)
RendererTest.cs (11)
2078
builder.OpenComponent<
FakeComponent
>(1);
2079
builder.AddComponentParameter(2, nameof(
FakeComponent
.IntProperty), firstRender ? 123 : 256);
2080
builder.AddComponentParameter(3, nameof(
FakeComponent
.ObjectProperty), objectThatWillNotChange);
2081
builder.AddComponentParameter(4, nameof(
FakeComponent
.StringProperty), firstRender ? "String that will change" : "String that did change");
2091
var
childComponentInstance = (
FakeComponent
)originalComponentFrame.Component;
2225
builder.OpenComponent<ConditionalParentComponent<
FakeComponent
>>(100);
2226
builder.AddComponentParameter(101, nameof(ConditionalParentComponent<
FakeComponent
>.IncludeChild), true);
2229
builder.OpenComponent<
FakeComponent
>(200);
2248
Assert.IsType<
FakeComponent
>(childComponent3);
2259
var renderHandle = ((
FakeComponent
)childComponent3).RenderHandle;