Exemplo n.º 1
0
 public AppServiceProvider()
 {
     Preferences        = new PreferencesService(this);
     Theme              = new ThemeService(this);
     StyleSheets        = new StyleSheetService(this);
     Popups             = new PopupService(this);
     NoteDatabase       = new NoteDatabase(DatabasePath);
     Backup             = new BackupService(this);
     Permissions        = new PermissionService();
     FileSystem         = new FileSystem();
     NavigationInstance = new NavigationService(this);
     Clipboard          = new ClipboardService();
     MarkdownBuilder    = new MarkdownBuilder(this);
 }
Exemplo n.º 2
0
 public void ResetDatabase()
 {
     NoteDatabase = new NoteDatabase(DatabasePath);
 }