/// <summary> /// Initializes a new instance of the <see cref="AuthenticationSuccessNotifier"/> class. /// </summary> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> public AuthenticationSuccessNotifier( IServerApplicationHost applicationHost, IWebhookSender webhookSender) { _applicationHost = applicationHost; _webhookSender = webhookSender; }
/// <summary> /// Initializes a new instance of the <see cref="UserUpdatedNotifier"/> class. /// </summary> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> public UserUpdatedNotifier( IServerApplicationHost applicationHost, IWebhookSender webhookSender) { _applicationHost = applicationHost; _webhookSender = webhookSender; }
/// <summary> /// Initializes a new instance of the <see cref="PluginUninstalledNotifier"/> class. /// </summary> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> public PluginUninstalledNotifier( IServerApplicationHost applicationHost, IWebhookSender webhookSender) { _applicationHost = applicationHost; _webhookSender = webhookSender; }
/// <summary> /// Initializes a new instance of the <see cref="TaskCompletedNotifier"/> class. /// </summary> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> public TaskCompletedNotifier( IServerApplicationHost applicationHost, IWebhookSender webhookSender) { _applicationHost = applicationHost; _webhookSender = webhookSender; }
/// <summary> /// Initializes a new instance of the <see cref="SessionStartNotifier"/> class. /// </summary> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> public SessionStartNotifier( IServerApplicationHost applicationHost, IWebhookSender webhookSender) { _applicationHost = applicationHost; _webhookSender = webhookSender; }
/// <summary> /// Initializes a new instance of the <see cref="PlaybackStopNotifier"/> class. /// </summary> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> public PlaybackStopNotifier( IServerApplicationHost applicationHost, IWebhookSender webhookSender) { _applicationHost = applicationHost; _webhookSender = webhookSender; }
/// <summary> /// Initializes a new instance of the <see cref="UserPasswordChangedNotifier"/> class. /// </summary> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> public UserPasswordChangedNotifier( IServerApplicationHost applicationHost, IWebhookSender webhookSender) { _applicationHost = applicationHost; _webhookSender = webhookSender; }
/// <summary> /// Initializes a new instance of the <see cref="PendingRestartNotifier"/> class. /// </summary> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> public PendingRestartNotifier( IServerApplicationHost applicationHost, IWebhookSender webhookSender) { _applicationHost = applicationHost; _webhookSender = webhookSender; }
/// <summary> /// Initializes a new instance of the <see cref="SubtitleDownloadFailureNotifier"/> class. /// </summary> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> public SubtitleDownloadFailureNotifier( IServerApplicationHost applicationHost, IWebhookSender webhookSender) { _applicationHost = applicationHost; _webhookSender = webhookSender; }
/// <summary> /// Initializes a new instance of the <see cref="UserLockedOutNotifier"/> class. /// </summary> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> public UserLockedOutNotifier( IServerApplicationHost applicationHost, IWebhookSender webhookSender) { _applicationHost = applicationHost; _webhookSender = webhookSender; }
public WebhookSender_Tests() { _webhookManager = Resolve <IWebhookManager>(); _webhookSender = Resolve <IWebhookSender>(); _webhookSubscriptionManager = Resolve <IWebhookSubscriptionManager>(); _webhookEventStore = Resolve <IWebhookEventStore>(); _webhookSendAttemptStore = Resolve <IWebhookSendAttemptStore>(); }
public WebhookSenderJob( IWebhooksConfiguration webhooksConfiguration, IWebhookSubscriptionManager webhookSubscriptionManager, IWebhookSendAttemptStore webhookSendAttemptStore, IWebhookSender webhookSender) { _webhooksConfiguration = webhooksConfiguration; _webhookSubscriptionManager = webhookSubscriptionManager; _webhookSendAttemptStore = webhookSendAttemptStore; _webhookSender = webhookSender; }
/// <summary> /// Initializes a new instance of the <see cref="ItemAddedManager"/> class. /// </summary> /// <param name="logger">Instance of the <see cref="ILogger{ItemAddedManager}"/> interface.</param> /// <param name="libraryManager">Instance of the <see cref="ILibraryManager"/> interface.</param> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> public ItemAddedManager( ILogger <ItemAddedManager> logger, ILibraryManager libraryManager, IServerApplicationHost applicationHost, IWebhookSender webhookSender) { _logger = logger; _libraryManager = libraryManager; _applicationHost = applicationHost; _webhookSender = webhookSender; _itemProcessQueue = new ConcurrentDictionary <Guid, QueuedItemContainer>(); }
/// <summary> /// Initializes a new instance of the <see cref="UserDataSavedNotifierEntryPoint"/> class. /// </summary> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> /// <param name="userDataManager">Instance of the <see cref="IUserDataManager"/> interface.</param> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> /// <param name="logger">Instance of the <see cref="ILogger{UserDataChangedNotifierEntryPoint}"/> interface.</param> /// <param name="userManager">Instance of the <see cref="IUserManager"/> interface.</param> public UserDataSavedNotifierEntryPoint( IWebhookSender webhookSender, IServerApplicationHost applicationHost, IUserDataManager userDataManager, ILogger <UserDataSavedNotifierEntryPoint> logger, IUserManager userManager) { _userDataManager = userDataManager; _logger = logger; _userManager = userManager; _applicationHost = applicationHost; _webhookSender = webhookSender; }
public WebhookBackgroundService(IWebhookSender webhookSender, IConfiguration configuration) { this.webhookSender = webhookSender; _configuration = configuration; }
public SettingsController(ILocationService service, IElasticClient elasticClient, IWebhookSender webhookSender) { _service = service; _elasticClient = elasticClient; _webhookSender = webhookSender; }
/// <summary> /// Initializes a new instance of the <see cref="GenericNotifier"/> class. /// </summary> /// <param name="webhookSender">Instance of the <see cref="IWebhookSender"/> interface.</param> /// <param name="applicationHost">Instance of the <see cref="IServerApplicationHost"/> interface.</param> public GenericNotifier(IWebhookSender webhookSender, IServerApplicationHost applicationHost) { _webhookSender = webhookSender; _applicationHost = applicationHost; }