Share via


FormBuilderBase<T>.Confirm Method

Definition

Overloads

Confirm(MessageDelegate<T>, ActiveDelegate<T>, IEnumerable<String>)
Confirm(PromptAttribute, ActiveDelegate<T>, IEnumerable<String>)
Confirm(String, ActiveDelegate<T>, IEnumerable<String>)

Confirm(MessageDelegate<T>, ActiveDelegate<T>, IEnumerable<String>)

Source:
FormBuilder.cs
public virtual Microsoft.Bot.Builder.FormFlow.IFormBuilder<T> Confirm (Microsoft.Bot.Builder.FormFlow.MessageDelegate<T> generateMessage, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> condition = default, System.Collections.Generic.IEnumerable<string> dependencies = default);
abstract member Confirm : Microsoft.Bot.Builder.FormFlow.MessageDelegate<'T (requires 'T : null)> * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * seq<string> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
override this.Confirm : Microsoft.Bot.Builder.FormFlow.MessageDelegate<'T (requires 'T : null)> * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * seq<string> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
Public Overridable Function Confirm (generateMessage As MessageDelegate(Of T), Optional condition As ActiveDelegate(Of T) = Nothing, Optional dependencies As IEnumerable(Of String) = Nothing) As IFormBuilder(Of T)

Parameters

generateMessage
MessageDelegate<T>
condition
ActiveDelegate<T>
dependencies
IEnumerable<String>

Returns

Implements

Applies to

Confirm(PromptAttribute, ActiveDelegate<T>, IEnumerable<String>)

Source:
FormBuilder.cs
public virtual Microsoft.Bot.Builder.FormFlow.IFormBuilder<T> Confirm (Microsoft.Bot.Builder.FormFlow.PromptAttribute prompt, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> condition = default, System.Collections.Generic.IEnumerable<string> dependencies = default);
abstract member Confirm : Microsoft.Bot.Builder.FormFlow.PromptAttribute * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * seq<string> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
override this.Confirm : Microsoft.Bot.Builder.FormFlow.PromptAttribute * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * seq<string> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
Public Overridable Function Confirm (prompt As PromptAttribute, Optional condition As ActiveDelegate(Of T) = Nothing, Optional dependencies As IEnumerable(Of String) = Nothing) As IFormBuilder(Of T)

Parameters

condition
ActiveDelegate<T>
dependencies
IEnumerable<String>

Returns

Implements

Applies to

Confirm(String, ActiveDelegate<T>, IEnumerable<String>)

Source:
FormBuilder.cs
public virtual Microsoft.Bot.Builder.FormFlow.IFormBuilder<T> Confirm (string prompt, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> condition = default, System.Collections.Generic.IEnumerable<string> dependencies = default);
abstract member Confirm : string * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * seq<string> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
override this.Confirm : string * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * seq<string> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
Public Overridable Function Confirm (prompt As String, Optional condition As ActiveDelegate(Of T) = Nothing, Optional dependencies As IEnumerable(Of String) = Nothing) As IFormBuilder(Of T)

Parameters

prompt
String
condition
ActiveDelegate<T>
dependencies
IEnumerable<String>

Returns

Implements

Applies to