public SlackMessageBuilder(SlackConfiguration configuration, Exception exception, NotifierOptions notifierOptions, HttpRequest request) : base(exception, notifierOptions, request) { if (!Uri.IsWellFormedUriString(configuration.WebhookUri, UriKind.Absolute)) { throw new MalformedUriException("SlackMessageBuilder failure: Slack's webhook URI is invalid."); } _configuration = configuration; }
public SlackNotifier(SlackConfiguration configuration) { _configuration = configuration; }