public SalesOrderPostDialog(SalesDialogBotAccessors accessors, INavClient client, IChatter chatter) { Chatter = chatter; Client = client; Accessors = accessors; WaterfallSteps = new WaterfallStep[] { ConfirmSalesOrderStepAsync, PostSalesOrderAndViewStepAsync }; Prompts = new List <Dialog> { new ConfirmPrompt(ConfirmSalesOrderPrompt) }; }
public ViewOrdersDialog(SalesDialogBotAccessors accessors, INavClient client, IChatter chatter) { Chatter = chatter; Client = client; Accessors = accessors; WaterfallSteps = new WaterfallStep[] { ChooseOrderStepAsync, ChooseActionStepAsync, ToActionStepAsync, AnotherActionStepAsync }; Prompts = new List <Dialog> { new TextPrompt(OrdersPrompt, OrderNumberValidatorAsync), new ChoicePrompt(ActionPrompt), new ConfirmPrompt(OtherActionPrompt) }; }
public CustomerIdDialogWithVoiceRecognition(INavClient client, SalesDialogBotAccessors accessors, IChatter chatter) { Chatter = chatter; Client = client; Accessors = accessors; WaterfallSteps = new WaterfallStep[] { CustomerIdStepAsync, CustomerAuthenticationStepAsync, ConfirmProfileStepAsync, ToIntentionStepAsync }; Prompts = new List <Dialog> { new TextPrompt(CustomerIdPrompt, CustomerIdValidatorAsync), new ConfirmPrompt(ConfirmIdPrompt) }; }
public ProductDialog(SalesDialogBotAccessors accessors, INavClient client, IChatter chatter) { Chatter = chatter; Client = client; Accessors = accessors; WaterfallSteps = new WaterfallStep[] { ChooseItemCategoryStepAsync, ChooseItemStepAsync, ChooseQuantityStepAsync, ConfirmQuantityStepAsync, ToAnotherProductStepAsync }; Prompts = new List <Dialog> { new ChoicePrompt(ItemCategoryPrompt, ItemCategoryChoiceValidatorAsync), new ChoicePrompt(ProductPrompt, ProductChoiceValidatorAsync), new ConfirmPrompt(ConfirmQuantityPrompt), new NumberPrompt <int>(QuantityPrompt, QuantityChoiceValidatorAsync) }; }
public CustomerIdDialog(INavClient client, SalesDialogBotAccessors accessors, IFaceRecognizer faceRecognizer, IChatter chatter) { Chatter = chatter; Client = client; Accessors = accessors; FaceRecognizer = faceRecognizer; WaterfallSteps = new WaterfallStep[] { CustomerIdStepAsync, CustomerAuthenticationStepAsync, ConfirmProfileStepAsync, ToIntentionStepAsync }; Prompts = new List <Dialog> { new TextPrompt(CustomerIdPrompt, CustomerIdValidatorAsync), new ConfirmPrompt(ConfirmIdPrompt), new AttachmentPrompt(VerifyByPicturePromt, AuthenticationValidatorAsync) }; }
public StateHistoryNMAppIdle(INavClient aClient, int aStackCapacity) : base(aStackCapacity) { mClient = aClient; mWhileNavigate = false; Application.Idle +=new EventHandler(Application_Idle); }
public StateHistoryNMAppIdle(INavClient aClient) : this(aClient, 32) { }