Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptInt64 Class Referenceabstract

Prompt for a confirmation. More...

Inheritance diagram for Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptInt64:

Public Member Functions

 PromptInt64 (string prompt, string retry, int attempts)
 Constructor for a prompt int64 dialog. More...
 PromptInt64 (PromptOptions< long > promptOptions)
 Constructor for a prompt int64 dialog. More...

Protected Member Functions

virtual IMessageActivity MakePrompt (IDialogContext context, string prompt, IReadOnlyList< U > options=null, IReadOnlyList< string > descriptions=null)
virtual async Task MessageReceivedAsync (IDialogContext context, IAwaitable< IMessageActivity > message)
override bool TryParse (IMessageActivity message, out Int64 result)
abstract bool TryParse (IMessageActivity message, out T result)

Protected Attributes

readonly PromptOptions< U > promptOptions

Detailed Description

Prompt for a confirmation.

Normally used through PromptDialog.Number(IDialogContext, ResumeAfter<long>, string, string, int).

Definition at line 502 of file PromptDialog.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptInt64.PromptInt64 ( string  prompt,
string  retry,
int  attempts 

Constructor for a prompt int64 dialog.

promptThe prompt.
retryWhat to display on retry.
attemptsMaximum number of attempts.

Definition at line 508 of file PromptDialog.cs.

Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptInt64.PromptInt64 ( PromptOptions< long >  promptOptions)

Constructor for a prompt int64 dialog.

promptOptionsTHe prompt options.

Definition at line 513 of file PromptDialog.cs.

Member Function Documentation

virtual IMessageActivity Microsoft.Bot.Builder.Dialogs.Internals.Prompt< T, U >.MakePrompt ( IDialogContext  context,
string  prompt,
IReadOnlyList< U >  options = null,
IReadOnlyList< string >  descriptions = null 

Definition at line 770 of file PromptDialog.cs.

virtual async Task Microsoft.Bot.Builder.Dialogs.Internals.Prompt< T, U >.MessageReceivedAsync ( IDialogContext  context,
IAwaitable< IMessageActivity message 

Definition at line 744 of file PromptDialog.cs.

override bool Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptInt64.TryParse ( IMessageActivity  message,
out Int64  result 

Definition at line 516 of file PromptDialog.cs.

abstract bool Microsoft.Bot.Builder.Dialogs.Internals.Prompt< T, U >.TryParse ( IMessageActivity  message,
out T  result 
protectedpure virtualinherited

Member Data Documentation

readonly PromptOptions<U> Microsoft.Bot.Builder.Dialogs.Internals.Prompt< T, U >.promptOptions

Definition at line 730 of file PromptDialog.cs.

The documentation for this class was generated from the following file: