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