2 instantiations of PersistentServicesRegistry
Microsoft.AspNetCore.Components (1)
PersistentState\ComponentStatePersistenceManager.cs (1)
38
_servicesRegistry = new
PersistentServicesRegistry
(serviceProvider);
Microsoft.AspNetCore.Components.Tests (1)
PersistentState\PersistentServicesRegistryTest.cs (1)
269
var registry = new
PersistentServicesRegistry
(serviceProvider);
8 references to PersistentServicesRegistry
Microsoft.AspNetCore.Components (4)
PersistentState\ComponentStatePersistenceManager.cs (2)
18
private readonly
PersistentServicesRegistry
? _servicesRegistry;
42
internal
PersistentServicesRegistry
? ServicesRegistry => _servicesRegistry;
PersistentState\PersistentServicesRegistry.cs (1)
19
private static readonly string _registryKey = typeof(
PersistentServicesRegistry
).FullName!;
PersistentState\RegisteredPersistentServiceRegistrationCollection.cs (1)
9
PersistentServicesRegistry
.ResolveRegistrations(registrations);
Microsoft.AspNetCore.Components.Tests (4)
PersistentState\ComponentStatePersistenceManagerTest.cs (1)
128
Assert.True(testStore.State.TryGetValue(typeof(
PersistentServicesRegistry
).FullName, out var registrations));
PersistentState\PersistentServicesRegistryTest.cs (3)
34
var
registry = persistenceManager.ServicesRegistry;
149
Assert.Equal(typeof(
PersistentServicesRegistry
).FullName, kvp.Key);
269
var
registry = new PersistentServicesRegistry(serviceProvider);