Logical seperation of AfterResume function from LUIS dialog class
Hi, i am new to this BOT framework, Inside the LUIS dialog I have used some promptdialog . The AfterResume function for all these prompts are defined in the same class since I need to call MessageRecieved which is a protected function. I want to separate the logic by moving these AfterResume function to another class. How can I do that?
Could you use a C# partial class?
Yes, I am using c# to develop. i tried to inherit the Idialog class and implement the function. But nothing seems to be working. All i understood is, when the AfterResume function gets called IAwaitable value is passed and if i can manually pass that to a function i can redefine it outside the LuisDialog class. But how?.Also even if we do it somehow how can i call the protected function messagereceived in the AfterResume function?
Another alternative is to use a child IDialog implementation. Dialogs are the component model for the Bot Builder SDK, allowing reuse of related pieces of code and data.
I'm going to close this issue, but feel free to open a new issue for further discussions.