public ImportCardsPresenter(IImportCardsView view, IMessageBus messageBus, ITrello trello, TaskScheduler taskScheduler)
        {
            this.view = view;
            this.messageBus = messageBus;
            this.trello = trello;
            this.taskScheduler = taskScheduler;
            trelloHelper = new TrelloHelper(trello);

            SetupMessageEventHandlers();
            SetupEventHandlers();
        }
示例#2
0
        public ImportCardsPresenter(IImportCardsView view, IMessageBus messageBus, ITrello trello, TaskScheduler taskScheduler)
        {
            this.view          = view;
            this.messageBus    = messageBus;
            this.trello        = trello;
            this.taskScheduler = taskScheduler;
            trelloHelper       = new TrelloHelper(trello);

            SetupMessageEventHandlers();
            SetupEventHandlers();
        }
        public ExportCardsPresenter(IExportCardsView view, ITrello trello, ICreateNewCards transformer, TaskScheduler taskScheduler, IMessageBus messageBus)
        {
            this.view = view;
            this.taskScheduler = taskScheduler;
            this.messageBus = messageBus;
            this.trello = trello;
            this.transformer = transformer;
            trelloHelper = new TrelloHelper(trello);

            exportCardsCancellationTokenSource = new CancellationTokenSource();

            SetupMessageEventHandlers();
            SetupEventHandlers();
            SetupInitialState();
        }
        public ExportCardsPresenter(IExportCardsView view, ITrello trello, ICreateNewCards transformer, TaskScheduler taskScheduler, IMessageBus messageBus)
        {
            this.view          = view;
            this.taskScheduler = taskScheduler;
            this.messageBus    = messageBus;
            this.trello        = trello;
            this.transformer   = transformer;
            trelloHelper       = new TrelloHelper(trello);

            exportCardsCancellationTokenSource = new CancellationTokenSource();

            SetupMessageEventHandlers();
            SetupEventHandlers();
            SetupInitialState();
        }