public ExemplaryViewModel( IKeyValuesStorageSyncService keyValueStorage, IJsonStorageService jsonStorage, IDataStorageService relationStorage) { this.keyValueStorage = keyValueStorage; this.jsonStorage = jsonStorage; this.relationStorage = relationStorage; }
public TodoWidgetViewModel(IJsonStorageService storageService) { storageController = storageService.CreateControllerForFile <TodoModel>("todolist.txt"); }
public NotesWidgetViewModel(IJsonStorageService storageService) { storageController = storageService.CreateControllerForFile <NotesModel>("notes.txt"); }