OnCondition(String, List<Dialog>, String, Int32) Constructor

Definition

Initializes a new instance of the OnCondition class.

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

Parameters

condition
String

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

actions
List<Dialog>

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

callerPath
String

Optional, source file full path.

callerLine
Int32

Optional, line number in source file.

Applies to