/// <summary>
 /// Initializes a new instance of the <see cref="BackgroundNotificationHandler{TNotification}" /> class.
 /// </summary>
 /// <param name="backgroundHandleProxyQueue">The background handle proxy queue.</param>
 /// <param name="nextHandler">The inner handler.</param>
 public BackgroundNotificationHandler(IBackgroundHandleProxyQueue backgroundHandleProxyQueue, INotificationHandler <TNotification> nextHandler)
 {
     _backgroundHandleProxyQueue = backgroundHandleProxyQueue;
     _nextHandler = nextHandler;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BackgroundHandleProxyProcessor" /> class.
 /// </summary>
 /// <param name="handleProxyQueue">The handle asynchronous delegates.</param>
 /// <param name="logger">The logger.</param>
 public BackgroundHandleProxyProcessor(IBackgroundHandleProxyQueue handleProxyQueue, ILogger <BackgroundHandleProxyProcessor> logger)
 {
     _handleProxyQueue = handleProxyQueue;
     _logger           = logger;
 }