8 instantiations of TestRenderMode
Microsoft.AspNetCore.Components.Tests (8)
Lifetime\ComponentStatePersistenceManagerTest.cs (8)
93}, new TestRenderMode()); 114lifetime.State.RegisterOnPersisting(() => { invoked = true; return default; }, new TestRenderMode()); 137lifetime.State.RegisterOnPersisting(async () => { sequence.Add(1); await tcs.Task; sequence.Add(3); }, new TestRenderMode()); 138lifetime.State.RegisterOnPersisting(async () => { sequence.Add(2); await tcs2.Task; sequence.Add(4); }, new TestRenderMode()); 196lifetime.State.RegisterOnPersisting(() => throw new InvalidOperationException(), new TestRenderMode()); 197lifetime.State.RegisterOnPersisting(() => { invoked = true; return Task.CompletedTask; }, new TestRenderMode()); 222lifetime.State.RegisterOnPersisting(async () => { await tcs.Task; throw new InvalidOperationException(); }, new TestRenderMode()); 223lifetime.State.RegisterOnPersisting(() => { invoked = true; return Task.CompletedTask; }, new TestRenderMode());