18 instantiations of TestStore
Microsoft.AspNetCore.Components.Tests (18)
PersistentState\ComponentStatePersistenceManagerTest.cs (18)
24.AddScoped(sp => new TestStore([])) 48var store = new TestStore(state); 70var store = new TestStore(state); 113.AddScoped(sp => new TestStore([])) 121var testStore = new TestStore([]); 123await persistenceManager.RestoreStateAsync(new TestStore([]), RestoreContext.InitialValue); 141var store = new TestStore(state); 168var store = new TestStore(state); 190var store = new TestStore(state); 220var store = new TestStore(state); 256var store = new TestStore(state); 284var store = new TestStore(state); 312var store = new TestStore(state); 359var store = new TestStore([]); 378var store = new TestStore([]); 412var store = new TestStore([]); 500yield return new TestStore(State); 501yield return new TestStore(State);
17 references to TestStore
Microsoft.AspNetCore.Components.Tests (17)
PersistentState\ComponentStatePersistenceManagerTest.cs (17)
25.AddPersistentService<TestStore>(Mock.Of<IComponentRenderMode>()) 48var store = new TestStore(state); 70var store = new TestStore(state); 114.AddPersistentService<TestStore>(new TestRenderMode()) 121var testStore = new TestStore([]); 132Assert.Equal(typeof(TestStore).Assembly.GetName().Name, registration.Assembly); 133Assert.Equal(typeof(TestStore).FullName, registration.FullTypeName); 141var store = new TestStore(state); 168var store = new TestStore(state); 190var store = new TestStore(state); 220var store = new TestStore(state); 256var store = new TestStore(state); 284var store = new TestStore(state); 312var store = new TestStore(state); 359var store = new TestStore([]); 378var store = new TestStore([]); 412var store = new TestStore([]);