1 instantiation of PersistingComponentStateSubscription
Microsoft.AspNetCore.Components (1)
PersistentComponentState.cs (1)
63return new PersistingComponentStateSubscription(_registeredCallbacks, persistenceCallback);
10 references to PersistingComponentStateSubscription
BasicTestApp (1)
PreserveStateService.cs (1)
12private PersistingComponentStateSubscription _persistingSubscription;
Microsoft.AspNetCore.Components (2)
PersistentComponentState.cs (2)
45public PersistingComponentStateSubscription RegisterOnPersisting(Func<Task> callback) 55public PersistingComponentStateSubscription RegisterOnPersisting(Func<Task> callback, IComponentRenderMode? renderMode)
Microsoft.AspNetCore.Components.Endpoints (1)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
12private readonly PersistingComponentStateSubscription _subscription;
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
12private readonly PersistingComponentStateSubscription _subscription;
Microsoft.AspNetCore.Components.Tests (2)
Lifetime\ComponentStatePersistenceManagerTest.cs (2)
165var subscription1 = lifetime.State.RegisterOnPersisting(async () => { sequence.Add(1); await tcs.Task; sequence.Add(3); }); 166var subscription2 = lifetime.State.RegisterOnPersisting(async () => { sequence.Add(2); await tcs2.Task; sequence.Add(4); });
Microsoft.AspNetCore.Components.Web (1)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
12private readonly PersistingComponentStateSubscription _subscription;
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
12private readonly PersistingComponentStateSubscription _subscription;
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
AuthenticationStateSerializer.cs (1)
17private readonly PersistingComponentStateSubscription _subscription;