Inheritance: Pr0grammController
 public Pr0grammClient(IPr0grammApiClient apiClient)
 {
     if (apiClient == null)
         throw new ArgumentNullException(nameof(apiClient));
     _client = apiClient;
     Bitcoin = new BitcoinController(_client);
     Comment = new CommentController(_client);
     Inbox = new InboxController(_client);
     Contact = new ContactController(_client);
     Profile = new ProfileController(_client);
     Paypal = new PaypalController(_client);
     User = new UserController(_client);
     Tag = new TagController(_client);
     Item = new ItemController(_client);
 }
Exemple #2
0
 public Pr0grammClient(IPr0grammApiClient apiClient)
 {
     if (apiClient == null)
     {
         throw new ArgumentNullException(nameof(apiClient));
     }
     _client = apiClient;
     Bitcoin = new BitcoinController(_client);
     Comment = new CommentController(_client);
     Inbox   = new InboxController(_client);
     Contact = new ContactController(_client);
     Profile = new ProfileController(_client);
     Paypal  = new PaypalController(_client);
     User    = new UserController(_client);
     Tag     = new TagController(_client);
     Item    = new ItemController(_client);
 }