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