/// <summary> /// Create publisher /// </summary> /// <param name="callback"></param> public MonitoredItemMessagePublisher(ICallbackInvoker callback) { _callback = callback ?? throw new ArgumentNullException(nameof(callback)); }
/// <summary> /// Create publisher /// </summary> /// <param name="callback"></param> public DiscoveryProgressPublisher(ICallbackInvoker callback) { _callback = callback ?? throw new ArgumentNullException(nameof(callback)); }
/// <summary> /// Create event publisher /// </summary> /// <param name="bus"></param> /// <param name="callback"></param> /// <param name="logger"></param> public RegistryEventPublisherHost(IEventBus bus, ICallbackInvoker callback, ILogger logger) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _bus = bus ?? throw new ArgumentNullException(nameof(bus)); _callback = callback ?? throw new ArgumentNullException(nameof(callback)); }