1 implementation of Get
Microsoft.Maui.Essentials (1)
Preferences\Preferences.netstandard.cs (1)
19
public T
Get
<T>(string key, T defaultValue, string sharedName) =>
17 references to Get
Microsoft.Maui.Essentials (17)
Preferences\Preferences.shared.cs (16)
172
/// <inheritdoc cref="IPreferences.
Get
{T}(string, T, string?)"/>
177
Current.
Get
<string?>(key, defaultValue, sharedName);
179
/// <inheritdoc cref="IPreferences.
Get
{T}(string, T, string?)"/>
181
Current.
Get
<bool>(key, defaultValue, sharedName);
183
/// <inheritdoc cref="IPreferences.
Get
{T}(string, T, string?)"/>
185
Current.
Get
<int>(key, defaultValue, sharedName);
187
/// <inheritdoc cref="IPreferences.
Get
{T}(string, T, string?)"/>
189
Current.
Get
<double>(key, defaultValue, sharedName);
191
/// <inheritdoc cref="IPreferences.
Get
{T}(string, T, string?)"/>
193
Current.
Get
<float>(key, defaultValue, sharedName);
195
/// <inheritdoc cref="IPreferences.
Get
{T}(string, T, string?)"/>
197
Current.
Get
<long>(key, defaultValue, sharedName);
241
/// <inheritdoc cref="IPreferences.
Get
{T}(string, T, string?)"/>
243
Current.
Get
<DateTime>(key, defaultValue, sharedName);
249
/// <inheritdoc cref="IPreferences.
Get
{T}(string, T, string?)"/>
251
Current.
Get
<DateTimeOffset>(key, defaultValue, sharedName);
VersionTracking\VersionTracking.shared.cs (1)
329
=> preferences.
Get
<string?>(key, null, sharedName)?.Split(new[] { '|' }, StringSplitOptions.RemoveEmptyEntries) ?? Array.Empty<string>();