OnIntent Constructor

Definition

Initializes a new instance of the OnIntent class.

public OnIntent (string intent = default, System.Collections.Generic.List<string> entities = default, System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Dialog> actions = default, string condition = default, string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Conditions.OnIntent : string * System.Collections.Generic.List<string> * System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Dialog> * string * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Conditions.OnIntent
Public Sub New (Optional intent As String = Nothing, Optional entities As List(Of String) = Nothing, Optional actions As List(Of Dialog) = Nothing, Optional condition As String = Nothing, Optional callerPath As String = "", Optional callerLine As Integer = 0)

Parameters

intent
String

Optional, intent to match on.

entities
List<String>

Optional, entities which must be recognized for this rule to trigger.

actions
List<Dialog>

Optional, actions to add to the plan when the rule constraints are met.

condition
String

Optional, condition which needs to be met for the actions to be executed.

callerPath
String

Optional, source file full path.

callerLine
Int32

Optional, line number in source file.

Applies to