Share via


FormBuilderBase<T>.Message Method

Definition

Overloads

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

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

Source:
FormBuilder.cs
public virtual Microsoft.Bot.Builder.FormFlow.IFormBuilder<T> Message (Microsoft.Bot.Builder.FormFlow.MessageDelegate<T> generateMessage, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> condition = default, System.Collections.Generic.IEnumerable<string> dependencies = default);
abstract member Message : 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.Message : 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 Message (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

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

Source:
FormBuilder.cs
public virtual Microsoft.Bot.Builder.FormFlow.IFormBuilder<T> Message (Microsoft.Bot.Builder.FormFlow.PromptAttribute prompt, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> condition = default, System.Collections.Generic.IEnumerable<string> dependencies = default);
abstract member Message : 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.Message : 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 Message (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

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

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

Parameters

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

Returns

Implements

Applies to