1 implementation of Set
Microsoft.Maui.Essentials (1)
Preferences\Preferences.netstandard.cs (1)
16 public void Set<T>(string key, T value, string sharedName) =>
17 references to Set
Microsoft.Maui.Essentials (17)
Preferences\Preferences.shared.cs (16)
199 /// <inheritdoc cref="IPreferences.Set{T}(string, T, string?)"/> 201 Current.Set<string?>(key, value, sharedName); 203 /// <inheritdoc cref="IPreferences.Set{T}(string, T, string?)"/> 205 Current.Set<bool>(key, value, sharedName); 207 /// <inheritdoc cref="IPreferences.Set{T}(string, T, string?)"/> 209 Current.Set<int>(key, value, sharedName); 211 /// <inheritdoc cref="IPreferences.Set{T}(string, T, string?)"/> 213 Current.Set<double>(key, value, sharedName); 215 /// <inheritdoc cref="IPreferences.Set{T}(string, T, string?)"/> 217 Current.Set<float>(key, value, sharedName); 219 /// <inheritdoc cref="IPreferences.Set{T}(string, T, string?)"/> 221 Current.Set<long>(key, value, sharedName); 245 /// <inheritdoc cref="IPreferences.Set{T}(string, T, string?)"/> 247 Current.Set<DateTime>(key, value, sharedName); 253 /// <inheritdoc cref="IPreferences.Set{T}(string, T, string?)"/> 255 Current.Set<DateTimeOffset>(key, value, sharedName);
VersionTracking\VersionTracking.shared.cs (1)
332 => preferences.Set(key, string.Join("|", history), sharedName);