/// <summary>
 /// Initializes a new instance of the <see cref="DetectHelpCancelDialog"/> class.
 /// </summary>
 /// <param name="botServices">The <see cref=" BotServices" />for the bot.</param>
 /// <param name="dialogId">Id of the dialog.</param>
 public DetectHelpCancelDialog(BotServices botServices, string dialogId)
     : base(dialogId)
 {
     Services = botServices;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GreetingDialog"/> class.
 /// </summary>
 /// <param name="botServices">Connected services used in processing.</param>
 /// <param name="botState">The <see cref="UserState"/> for storing properties at user-scope.</param>
 public GreetingDialog(BotServices botServices, UserState botState)
     : this(botServices, botState.CreateProperty <GreetingState>(GreetingStateName))
 {
 }