public TaskItem(ObservableCollection <TaskItem> taskList, Card card, string taskName, TrelloService trelloService) { Card = card; TaskDoneCmd = new TaskDoneCommand(this, taskList); _taskName = taskName; this.trelloService = trelloService; }
private void onFinishedLoading() { settings = readSettings(); trelloService = new TrelloService(); var authToken = trelloService.Authorise(authoriseTrello); settings[trelloUserTokenSettingName] = authToken; flushSettings(settings); var currentCards = trelloService.CurrentCards(); currentCards.ContinueWith(cardsLoaded); initialLoadComplete = true; }
public TaskItem(ObservableCollection<TaskItem> taskList, Card card, string taskName, TrelloService trelloService) { Card = card; TaskDoneCmd = new TaskDoneCommand(this, taskList); _taskName = taskName; this.trelloService = trelloService; }