/// <summary>
 /// Initializes a new instance of the JsonAdaptiveCardService
 /// </summary>
 /// <param name="jsonCardService"></param>
 public JsonCardResponseIntentHandler(JsonAdaptiveCardService jsonCardService)
 {
     this.jsonCardService = jsonCardService ?? throw new ArgumentNullException(nameof(jsonCardService));
 }
Beispiel #2
0
 /// <summary>
 /// Constructs a new instance of SampleBot
 /// </summary>
 /// <param name="conversationState"></param>
 /// <param name="userState"></param>
 /// <param name="dialog"></param>
 /// <param name="cardService"></param>
 /// <param name="logger"></param>
 public SampleBot(DialogStateManager dialogStateManager, IntentDialog dialog, JsonAdaptiveCardService cardService, ILogger <SampleBot> logger)
     : base(dialogStateManager, dialog, logger)
 {
     this.cardService = cardService;
 }
Beispiel #3
0
 /// <summary>
 /// Initialize a new instance of the <see cref="WhoAmIIntentHandler"> class
 /// </summary>
 /// <param name="graphService">graph service</param>
 public WhoAmIIntentHandler(GraphService graphService, JsonAdaptiveCardService jsonCardServie)
 {
     this.graphService    = graphService ?? throw new ArgumentNullException(nameof(graphService));
     this.jsonCardService = jsonCardServie ?? throw new ArgumentNullException(nameof(jsonCardServie));
 }