Exemplo n.º 1
0
 public TaskItem(ObservableCollection <TaskItem> taskList, Card card, string taskName, TrelloService trelloService)
 {
     Card               = card;
     TaskDoneCmd        = new TaskDoneCommand(this, taskList);
     _taskName          = taskName;
     this.trelloService = trelloService;
 }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
 public TaskItem(ObservableCollection<TaskItem> taskList, Card card, string taskName, TrelloService trelloService)
 {
     Card = card;
     TaskDoneCmd = new TaskDoneCommand(this, taskList);
     _taskName = taskName;
     this.trelloService = trelloService;
 }
Exemplo n.º 4
0
        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;
        }