Ejemplo n.º 1
0
 /// <summary>
 /// Get Trello member by username or Id
 /// </summary>
 /// <param name="username"></param>
 /// <returns></returns>
 public Member GetMember(string username) => _restClient.Request <Member>(new MembersRequest(username));
Ejemplo n.º 2
0
 /// <summary>
 /// </summary>
 /// <param name="restClient"></param>
 /// <param name="organization"></param>
 public Boards(TrelloClient restClient, Organization organization)
     : base(restClient, restClient.Request <List <Board> >(new ByOrganizationBoards(organization)))
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// </summary>
 /// <param name="restClient"></param>
 /// <param name="board"></param>
 public Lists(TrelloClient restClient, Board board)
     : base(restClient, restClient.Request <List <List> >(new ListsForBoardRequest(board)))
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// </summary>
 /// <param name="restClient"></param>
 /// <param name="member"></param>
 public Boards(TrelloClient restClient, Member member)
     : base(restClient, restClient.Request <List <Board> >(new BoardsForMemberRequest(member)))
 {
 }
Ejemplo n.º 5
0
 /// <summary>
 /// </summary>
 /// <param name="restClient"></param>
 /// <param name="card"></param>
 public CheckLists(TrelloClient restClient, Card card)
     : base(restClient, restClient.Request <List <CheckList> >(new GetCheckListsRequest(card)))
 {
     _parentCard = card;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// </summary>
 /// <param name="restClient"></param>
 /// <param name="card"></param>
 public Attachments(TrelloClient restClient, Card card)
     : base(restClient, restClient.Request <List <Attachment> >(new GetAttachmentsRequest(card)))
 {
     _parentCard = card;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// </summary>
 /// <param name="restClient"></param>
 /// <param name="card"></param>
 public Labels(TrelloClient restClient, Card card)
     : base(restClient, restClient.Request <List <Label> >(new GetLabelsRequest(card)))
 {
     _parentCard = card;
 }
Ejemplo n.º 8
0
 /// <summary>
 /// </summary>
 /// <param name="restClient"></param>
 /// <param name="list"></param>
 public Cards(TrelloClient restClient, List list)
     : base(restClient, restClient.Request <List <Card> >(new CardsForListRequest(list.ListId)))
 {
     _parentList = list;
 }