Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TextBotDisconnectAction" /> class.
 /// </summary>
 /// <param name="Reason">The reason for the disconnect. (required).</param>
 /// <param name="ReasonExtendedInfo">Extended information related to the reason, if available..</param>
 /// <param name="FlowLocation">Describes where in the Bot Flow the user was when the disconnect occurred..</param>
 /// <param name="FlowOutcomes">The list of Flow Outcomes for the bot flow and their details..</param>
 public TextBotDisconnectAction(ReasonEnum?Reason = null, string ReasonExtendedInfo = null, TextBotFlowLocation FlowLocation = null, List <TextBotFlowOutcome> FlowOutcomes = null)
 {
     this.Reason             = Reason;
     this.ReasonExtendedInfo = ReasonExtendedInfo;
     this.FlowLocation       = FlowLocation;
     this.FlowOutcomes       = FlowOutcomes;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TextBotExitAction" /> class.
 /// </summary>
 /// <param name="Reason">The reason for the exit. (required).</param>
 /// <param name="ReasonExtendedInfo">Extended information related to the reason, if available..</param>
 /// <param name="ActiveIntent">The active intent at the time of the exit..</param>
 /// <param name="FlowLocation">Describes where in the Bot Flow the user was when the exit occurred..</param>
 /// <param name="OutputData">The output data for the bot flow..</param>
 /// <param name="FlowOutcomes">The list of Flow Outcomes for the bot flow and their details..</param>
 public TextBotExitAction(ReasonEnum?Reason = null, string ReasonExtendedInfo = null, string ActiveIntent = null, TextBotFlowLocation FlowLocation = null, TextBotInputOutputData OutputData = null, List <TextBotFlowOutcome> FlowOutcomes = null)
 {
     this.Reason             = Reason;
     this.ReasonExtendedInfo = ReasonExtendedInfo;
     this.ActiveIntent       = ActiveIntent;
     this.FlowLocation       = FlowLocation;
     this.OutputData         = OutputData;
     this.FlowOutcomes       = FlowOutcomes;
 }