internal AsyncTrello(TrelloRestClient restClient) { _restClient = restClient; Members = new AsyncMembers(_restClient); Boards = new AsyncBoards(_restClient); Lists = new AsyncLists(_restClient); Cards = new AsyncCards(_restClient); Checklists = new AsyncChecklists(_restClient); Organizations = new AsyncOrganizations(_restClient); Notifications = new AsyncNotifications(_restClient); Tokens = new AsyncTokens(_restClient); Actions = new AsyncActions(_restClient); }
public Trello(INetworkService networkService, IRequestClient client) { _networkService = networkService; _client = client; Members = new AsyncMembers(_client); Boards = new AsyncBoards(_client); Lists = new AsyncLists(_client); Cards = new AsyncCards(_client); Checklists = new AsyncChecklists(_client); Organizations = new AsyncOrganizations(_client); Notifications = new AsyncNotifications(_client); Tokens = new AsyncTokens(_client); Actions = new AsyncActions(_client); }