public WebHookRegistrationStore(IMongoContext <WebHook> context, IPrincipalIdGetter idGetter, ISecretProtector secretProtector, ILogger <WebHookRegistrationStore> logger) { _context = context ?? throw new ArgumentNullException(nameof(context)); _idGetter = idGetter ?? throw new ArgumentNullException(nameof(idGetter)); _secretProtector = secretProtector ?? throw new ArgumentNullException(nameof(secretProtector)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public WebHookStore(IMongoContext <WebHook> context, ISecretProtector secretProtector) { _context = context ?? throw new ArgumentNullException(nameof(context)); _secretProtector = secretProtector ?? throw new ArgumentNullException(nameof(secretProtector)); }
/// <summary>Initializes a new instance of the <see cref="WebHookStore{TContext}"/> class.</summary> public WebHookStore(TContext context, ISecretProtector secretProtector, IWebHookMatcher webHookMatcher) { _context = context ?? throw new ArgumentNullException(nameof(context)); _secretProtector = secretProtector ?? throw new ArgumentNullException(nameof(secretProtector)); _webHookMatcher = webHookMatcher ?? throw new ArgumentNullException(nameof(webHookMatcher)); }
/// <summary>Initializes a new instance of the <see cref="WebHookReplayService{TContext}"/> class.</summary> public WebHookReplayService(TContext context, IWebHookSender sender, ISecretProtector secretProtector) { _context = context ?? throw new ArgumentNullException(nameof(context)); _sender = sender ?? throw new ArgumentNullException(nameof(sender)); _secretProtector = secretProtector ?? throw new ArgumentNullException(nameof(secretProtector)); }