public WebhookRouter( IWebhookDispatcher webhookDispatcher, IWebhooksRoutes webhooksWebhooksRoutes, IWebhooksHelper webhooksHelper) { _webhookDispatcher = webhookDispatcher; _webhooksRoutes = webhooksWebhooksRoutes; _webhooksHelper = webhooksHelper; }
public AccountActivityRequestHandler( IWebhookDispatcher dispatcher, IWebhooksRoutes routes, IWebhooksHelper webhooksHelper, IFactory <AccountActivityStream> accountActivityStreamFactory, ITwitterClient client) { _dispatcher = dispatcher; _accountActivityStreamFactory = accountActivityStreamFactory; _router = new WebhookRouter(dispatcher, routes, webhooksHelper); _consumerOnlyCredentials = new ConsumerOnlyCredentials(client.Credentials); }
public WebhooksRoutes(IWebhooksHelper webhooksHelper) { _webhooksHelper = webhooksHelper; }