3 instantiations of RestoreOptions
Microsoft.AspNetCore.Components (3)
PersistentState\PersistentServicesRegistry.cs (2)
83}, new RestoreOptions { AllowUpdates = true }))); 201var restoreOptions = new RestoreOptions
PersistentState\PersistentValueProviderComponentSubscription.cs (1)
74new RestoreOptions { RestoreBehavior = attribute.RestoreBehavior, AllowUpdates = attribute.AllowUpdates });
7 references to RestoreOptions
Microsoft.AspNetCore.Components (7)
PersistentComponentState.cs (1)
84public RestoringComponentStateSubscription RegisterOnRestoring(Action callback, RestoreOptions options)
PersistentState\PersistentServicesRegistry.cs (4)
162private readonly Dictionary<string, (PropertySetter, PropertyGetter, RestoreOptions)> _underlyingAccessors; 167_underlyingAccessors = new Dictionary<string, (PropertySetter, PropertyGetter, RestoreOptions)>(StringComparer.OrdinalIgnoreCase); 201var restoreOptions = new RestoreOptions 239internal (PropertySetter setter, PropertyGetter getter, RestoreOptions options) GetAccessor(string key) =>
PersistentState\RestoreContext.cs (1)
39internal bool ShouldRestore(RestoreOptions options)
PersistentState\RestoreOptions.cs (1)
12/// Initializes a new instance of the <see cref="RestoreOptions"/> struct with default values.