public static async Task SaveAsync <T>(this ApplicationDataContainer settings, string key, T value) { settings.SaveString(key, await Json.StringifyAsync(value)); }
public static async Task SaveAsync <T>(this ApplicationDataContainer settings, string key, T value) { #pragma warning disable IDE0022 // Use expression body for methods settings.SaveString(key, await Json.StringifyAsync(value)); #pragma warning restore IDE0022 // Use expression body for methods }