Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DscEventHandler"/> class.
 /// </summary>
 /// <param name="eventManager">
 /// The event manager.
 /// </param>
 public SlackLogger(IDscEventManager eventManager, ISlackIntegrationService slackService)
     : base(eventManager)
 {
     this.SlackService = slackService;
 }
Example #2
0
 public SlackController(ISlackIntegrationService slackIntegrationService)
 {
     _slackIntegrationService = slackIntegrationService ??
                                throw new ArgumentNullException(nameof(slackIntegrationService));
 }