1 write to OnAfterRenderCallCount
Microsoft.AspNetCore.Components.Tests (1)
RendererTest.cs (1)
5507
OnAfterRenderCallCount
++;
11 references to OnAfterRenderCallCount
Microsoft.AspNetCore.Components.Tests (11)
RendererTest.cs (11)
3312
OnUpdateDisplay = _ => onAfterRenderCallCountLog.Add(component.
OnAfterRenderCallCount
)
3323
Assert.Equal(1, component.
OnAfterRenderCallCount
);
3328
Assert.Equal(2, component.
OnAfterRenderCallCount
);
3425
Assert.Equal(1, childComponents[0].
OnAfterRenderCallCount
);
3426
Assert.Equal(1, childComponents[1].
OnAfterRenderCallCount
);
3427
Assert.Equal(1, childComponents[2].
OnAfterRenderCallCount
);
3437
Assert.Equal(2, childComponents[0].
OnAfterRenderCallCount
); // Retained and re-rendered
3438
Assert.Equal(1, childComponents[1].
OnAfterRenderCallCount
); // Retained and not re-rendered
3439
Assert.Equal(1, childComponents[2].
OnAfterRenderCallCount
); // Disposed
3451
if (component.
OnAfterRenderCallCount
< 10)
3464
Assert.Equal(10, component.
OnAfterRenderCallCount
);