public TriggersContextFactory( ISlackConnectionRepository slackConnectionRepository, ISlackClientFactory slackClientFactory) { _slackConnectionRepository = slackConnectionRepository ?? throw new ArgumentNullException(nameof(slackConnectionRepository)); _slackClientFactory = slackClientFactory ?? throw new ArgumentNullException(nameof(slackClientFactory)); }
public OrganizationsService( IOrganizationRepository repository, ISlackConnectionRepository slackConnectionRepository, ISlackClientFactory slackClientFactory) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _slackConnectionRepository = slackConnectionRepository ?? throw new ArgumentNullException(nameof(slackConnectionRepository)); _slackClientFactory = slackClientFactory ?? throw new ArgumentNullException(nameof(slackClientFactory)); }
public SlackConnectionService( ISlackConnectionRepository slackConnectionRepository, IAddToSlackLinkProvider addToSlackLinkProvider, ISlackAccessTokenRetriever slackAccessTokenRetriever) { _slackConnectionRepository = slackConnectionRepository ?? throw new ArgumentNullException(nameof(slackConnectionRepository)); _addToSlackLinkProvider = addToSlackLinkProvider ?? throw new ArgumentNullException(nameof(addToSlackLinkProvider)); _slackAccessTokenRetriever = slackAccessTokenRetriever ?? throw new ArgumentNullException(nameof(slackAccessTokenRetriever)); }