コード例 #1
0
 public TweetinviWebhookController()
 {
     _accountActivityWebhooksController      = new AccountActivityWebhooksController(Startup.WebhookClient);
     _accountActivitySubscriptionsController = new AccountActivitySubscriptionsController(Startup.WebhookClient);
     _accountActivityEventsController        = new AccountActivityEventsController(Startup.AccountActivityRequestHandler);
 }
コード例 #2
0
 static TweetinviWebhookController()
 {
     _accountActivityWebhooksController      = new AccountActivityWebhooksController(WebApiConfig.WebhookClient);
     _accountActivitySubscriptionsController = new AccountActivitySubscriptionsController(WebApiConfig.WebhookClient);
     _accountActivityEventsController        = new AccountActivityEventsController(WebApiConfig.AccountActivityRequestHandler);
 }