bitwarden-android/test/Playground/Program.cs

24 lines
572 B
C#
Raw Normal View History

2022-04-26 18:21:17 +03:00
using System;
using System.Threading.Tasks;
2022-04-26 18:21:17 +03:00
using Bit.Core.Services;
namespace Bit.Playground
{
public class Program
{
public static void Main(string[] args)
{
MainAsync(args).Wait();
Console.ReadLine();
}
public static async Task MainAsync(string[] args)
{
var db = new LiteDbStorageService("test.db");
await db.SaveAsync("testkey", new { val = 1 });
Console.WriteLine(await db.GetAsync<object>("testkey"));
Console.ReadLine();
}
}
}