20 references to ComputeKey
Microsoft.AspNetCore.Components (2)
PersistentState\PersistentValueProviderComponentSubscription.cs (2)
137
_storageKey ??= PersistentStateValueProviderKeyResolver.
ComputeKey
(_subscriber, _propertyName);
183
_storageKey ??= PersistentStateValueProviderKeyResolver.
ComputeKey
(_subscriber, _propertyName);
Microsoft.AspNetCore.Components.Tests (18)
PersistentStateValueProviderKeyResolverTests.cs (6)
84
var key1 = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState1, cascadingParameterInfo.PropertyName);
85
var key2 = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState2, cascadingParameterInfo.PropertyName);
139
var key1 = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState1, cascadingParameterInfo.PropertyName);
140
var key2 = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState2, cascadingParameterInfo.PropertyName);
184
var key1 = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState1, cascadingParameterInfo.PropertyName);
185
var key2 = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState2, cascadingParameterInfo.PropertyName);
PersistentStateValueProviderTests.cs (1)
107
var key = PersistentStateValueProviderKeyResolver.
ComputeKey
(item.componentState, item.propertyName);
PersistentValueProviderComponentSubscriptionTests.cs (11)
76
var key = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState, nameof(TestComponent.State));
136
var key = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState, nameof(ValueTypeTestComponent.IntValue));
166
var key = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState, nameof(ValueTypeTestComponent.NullableIntValue));
216
var key = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState, nameof(TestComponent.State));
258
var key = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState, nameof(TestComponent.State));
303
var key = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState, nameof(CustomSerializerTestComponent.CustomValue));
348
var stringKey = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState, nameof(MultiplePropertiesComponent.StringValue));
349
var intKey = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState, nameof(MultiplePropertiesComponent.IntValue));
350
var boolKey = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState, nameof(MultiplePropertiesComponent.BoolValue));
407
var intKey = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState, nameof(ValueTypeTestComponent.IntValue));
408
var nullableIntKey = PersistentStateValueProviderKeyResolver.
ComputeKey
(componentState, nameof(ValueTypeTestComponent.NullableIntValue));