コード例 #1
0
 public SlackCommandService(SlackTokenValidator tokenValidation, IEnumerable <ISlackCommandResponder> commands, Serializer serializer, ILogger <SlackCommandService> logger)
 {
     _tokenValidation = tokenValidation;
     _commands        = commands;
     _serializer      = serializer;
     _logger          = logger;
 }
コード例 #2
0
 public SlackInteractionService(SlackTokenValidator tokenValidation, IEnumerable <ISlackActionResponder> interactions, IEnumerable <ISlackDialogResponder> dialogs, Serializer serializer, ILogger <SlackInteractionService> logger)
 {
     _tokenValidation = tokenValidation;
     _actions         = interactions;
     _dialogs         = dialogs;
     _serializer      = serializer;
     _logger          = logger;
 }