/// <summary> /// Creates a new <see cref="SlackWebHookClient"/>. /// </summary> /// <param name="notificationToStringConverter">Used to convert an <see cref="SlackWebHookNotification"/> to a <see cref="string"/></param> /// <param name="logger">The logger used.</param> public SlackWebHookClient( INotificationConverter <string, SlackWebHookNotification> notificationToStringConverter, ILogger <SlackWebHookClient> logger = null ) { _notificationToStringConverter = notificationToStringConverter; _logger = logger ?? new NullLogger <SlackWebHookClient>(); }
public NotificationsToUserDispatcher( INotificationService notificationService, IContentManager contentManager, INotificationConverter notificationConverter) { _notificationService = notificationService; _contentManager = contentManager; _notificationConverter = notificationConverter; }
public NotificationService(IContentManager contentManager, INotificationConverter notificationConverter) { _contentManager = contentManager; _notificationConverter = notificationConverter; }