public TrelloApiClient(string apiKey, string apiToken)
 {
     apiHandler = new ApiHandler(new Uri("https://api.trello.com/1"), apiKey, apiToken);
     Boards = new BoardsClient(apiHandler);
     Cards = new CardsClient(apiHandler);
     Lists = new ListsClient(apiHandler);
 }
 public CreateActionHandler(
     IChooseBoardActionHandler chooseBoardActionHandler,
     IBoardsClient boardsClient,
     IListsClient listsClient,
     IConsole console)
 {
     this.chooseBoardActionHandler = chooseBoardActionHandler;
     this.boardsClient             = boardsClient;
     this.listsClient = listsClient;
     this.console     = console;
 }
Exemplo n.º 3
0
 public ActiveGoalsActionHandler(
     IBoardsClient boardsClient,
     ITrelloServiceFactory trelloServiceFactory,
     IListsClient listsClient,
     ICreationDateRetriever creationDateRetriever,
     ICardFilterFactory cardFilterFactory,
     IConsole console)
 {
     this.boardsClient          = boardsClient;
     this.trelloServiceFactory  = trelloServiceFactory;
     this.listsClient           = listsClient;
     this.creationDateRetriever = creationDateRetriever;
     this.cardFilterFactory     = cardFilterFactory;
     this.console = console;
 }