private Task SpecialCommand(IDialogContext context) { // PromptDialog.Text(context, OnSpecialCommandProcessing, K.INT_SPECIAL_COMMAND); var sch = new Scheduling() { Speciality = "Cardiología", Patient = new Patient() { Name = "Pedrito" } }; context.Call(new SchedulingDialog(ref sch), OnSpecialCommandProcessing2); return(Task.CompletedTask); }
public Task StartAsync(IDialogContext context) { _scheduling = new Scheduling(); context.Wait(MessageReceivedAsync); return(Task.CompletedTask); }
public SchedulingDialog(ref Scheduling scheduling) => _scheduling = scheduling;