Esempio n. 1
0
 public ReadingBoardService(
     ITrelloFactory factory,
     IReadingListService readingListService)
 {
     _readingListService = readingListService;
     _readingListBoard   = factory.Board(TrelloBoardConstants.BoardId);
 }
Esempio n. 2
0
 public ReadingListService(
     ITrelloFactory factory,
     ILogFactory logFactory)
 {
     _board  = factory.Board(TrelloBoardConstants.BoardId);
     _logger = logFactory.GetLogger(this.GetType());
 }
Esempio n. 3
0
 public TrelloAuthorizationProvider(
     AppKey appKey,
     ReturnUrl returnUrl,
     ITrelloFactory trelloFactory)
 {
     this.appKey    = appKey.Key;
     this.returnUrl = returnUrl.Url;
     factory        = trelloFactory;
 }
 public TrelloTasksHandler(
     AppKey appKey,
     ITrelloFactory trelloFactory,
     IUserItemsStorage <TrelloApiToken> userTokenStorage
     )
 {
     this.appKey           = appKey;
     factory               = trelloFactory;
     this.userTokenStorage = userTokenStorage;
 }
 public MyTweetService(
     ITrelloFactory trelloFactory
     )
 {
     this.trelloFactory = trelloFactory;
 }
Esempio n. 6
0
 public static Task <IMe> Me(this ITrelloFactory factory, string appKey, string userToken)
 => factory.Me(new TrelloAuthorization
 {
     AppKey    = appKey,
     UserToken = userToken
 });