10 references to _subscriptions
Microsoft.Maui.Controls (10)
MessagingCenter.cs (10)
205 if (!_subscriptions.ContainsKey(key)) 207 List<Subscription> subcriptions = _subscriptions[key]; 232 if (_subscriptions.ContainsKey(key)) 234 _subscriptions[key].Add(value); 239 _subscriptions[key] = list; 251 if (!_subscriptions.ContainsKey(key)) 253 _subscriptions[key].RemoveAll(sub => sub.CanBeRemoved() || sub.Subscriber.Target == subscriber); 254 if (!_subscriptions[key].Any()) 255 _subscriptions.Remove(key); 263 (Instance as MessagingCenter)?._subscriptions.Clear();