19 references to Current
Microsoft.Maui.Essentials (19)
Preferences\Preferences.shared.cs (19)
162 Current.ContainsKey(key, sharedName); 166 Current.Remove(key, sharedName); 170 Current.Clear(sharedName); 177 Current.Get<string?>(key, defaultValue, sharedName); 181 Current.Get<bool>(key, defaultValue, sharedName); 185 Current.Get<int>(key, defaultValue, sharedName); 189 Current.Get<double>(key, defaultValue, sharedName); 193 Current.Get<float>(key, defaultValue, sharedName); 197 Current.Get<long>(key, defaultValue, sharedName); 201 Current.Set<string?>(key, value, sharedName); 205 Current.Set<bool>(key, value, sharedName); 209 Current.Set<int>(key, value, sharedName); 213 Current.Set<double>(key, value, sharedName); 217 Current.Set<float>(key, value, sharedName); 221 Current.Set<long>(key, value, sharedName); 243 Current.Get<DateTime>(key, defaultValue, sharedName); 247 Current.Set<DateTime>(key, value, sharedName); 251 Current.Get<DateTimeOffset>(key, defaultValue, sharedName); 255 Current.Set<DateTimeOffset>(key, value, sharedName);