1 write to _singletons
Microsoft.Maui (1)
Hosting\Internal\MauiFactory.cs (1)
22
_singletons
= new ConcurrentDictionary<ServiceDescriptor, object?>();
2 references to _singletons
Microsoft.Maui (2)
Hosting\Internal\MauiFactory.cs (2)
38
if (
_singletons
.TryGetValue(descriptor, out var singletonInstance))
45
_singletons
[descriptor] = typeInstance;