示例#1
0
 public static void Complete(string id, bool IsCompleted)
 {
     DatabaseService.GetInstance().Complete(id, IsCompleted);
 }
示例#2
0
 public static string Query(string text)
 {
     return(DatabaseService.GetInstance().Query(text));
 }
示例#3
0
 public static void SaveTemp(string title, string detail, double size, DateTime date, ImageSource img)
 {
     DatabaseService.GetInstance().SaveTemp(title, detail, size, date);
 }
示例#4
0
 public static async void ResumeTemp(string[] temp, Image image)
 {
     DatabaseService.GetInstance().ResumeTemp(temp);
     image.Source = await GetProfilePictureAsync("temp");
 }
 public static DatabaseService GetInstance()
 {
     return(databaseService == null ? databaseService = new DatabaseService() : databaseService);
 }