1 write to _subscribers
Microsoft.AspNetCore.Components (1)
CascadingValueSource.cs (1)
77
_subscribers
= new();
5 references to _subscribers
Microsoft.AspNetCore.Components (5)
CascadingValueSource.cs (5)
92
if (
_subscribers
?.Count > 0)
96
foreach (var (dispatcher, subscribers) in
_subscribers
)
169
_subscribers
?.GetOrAdd(dispatcher, _ => new()).Add(subscriber);
177
if (
_subscribers
?.TryGetValue(dispatcher, out var subscribersForDispatcher) == true)
183
_subscribers
.Remove(dispatcher, out _);