public GraphSyncNotifier(
     INodeContentItemLookup nodeContentItemLookup,
     IContentDefinitionManager contentDefinitionManager,
     LinkGenerator linkGenerator,
     IHttpContextAccessor httpContextAccessor,
     ILogger <GraphSyncNotifier> logger, ISlackMessagePublisher slackMessagePublisher)
 {
     _nodeContentItemLookup    = nodeContentItemLookup;
     _contentDefinitionManager = contentDefinitionManager;
     _linkGenerator            = linkGenerator;
     _httpContextAccessor      = httpContextAccessor;
     _logger  = logger;
     _entries = new List <NotifyEntry>();
     _slackMessagePublisher = slackMessagePublisher;
 }
Ejemplo n.º 2
0
 public UnhandledExceptionFilterAttribute(ISlackMessagePublisher slackMessagePublisher, ILogger <UnhandledExceptionFilterAttribute> logger)
 {
     _slackMessagePublisher = slackMessagePublisher;
     _logger = logger;
 }