Is it possible to provide an example of the Action necessary to run the RequestManualMode method. Can't find any example...
var firstDialog = new FirstDialog(engine);
var controller = new InteractiveController(engine);
controller.Run(firstDialog);
controller.RequestManualMode(StartAction);
Hi Daniel,
The RequestManualMode method can be used as follows to show progress of a long running action to the user:
controller.RequestManualMode(() =>
{
for (int i = 0; i < 100; i += 10)
{
dialog.StatusTextBox.Text = $"{i}%";
dialog.Show(false);Thread.Sleep(1000);
}
// done
});