4 instantiations of ComponentSubscriptionKey
Microsoft.AspNetCore.Components (4)
PersistentState\PersistentStateValueProvider.cs (4)
33
if (_subscriptions.TryGetValue(
new
(componentState, parameterInfo.PropertyName), out var subscription))
52
_subscriptions.Add(new
ComponentSubscriptionKey
(subscriber, propertyName), componentSubscription);
57
if (_subscriptions.TryGetValue(
new
(subscriber, parameterInfo.PropertyName), out var subscription))
60
_subscriptions.Remove(
new
(subscriber, parameterInfo.PropertyName));
5 references to ComponentSubscriptionKey
Microsoft.AspNetCore.Components (5)
ComponentSubscriptionKey.cs (3)
10
internal readonly struct ComponentSubscriptionKey(ComponentState subscriber, string propertyName) : IEquatable<
ComponentSubscriptionKey
>
16
public bool Equals(
ComponentSubscriptionKey
other)
20
=> obj is
ComponentSubscriptionKey
other && Equals(other);
PersistentState\PersistentStateValueProvider.cs (2)
12
private readonly Dictionary<
ComponentSubscriptionKey
, PersistentValueProviderComponentSubscription> _subscriptions = [];
16
internal Dictionary<
ComponentSubscriptionKey
, PersistentValueProviderComponentSubscription> Subscriptions => _subscriptions;