Ejemplo 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;
 }
Ejemplo 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;
        }
Ejemplo 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;
 }
Ejemplo 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;
        }