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