/// <summary> /// Constructor. /// </summary> private MessageRouterManager() { // TODO: Get this instance from a data storage instead of keeping a local copy! RoutingDataManager = new LocalRoutingDataManager(); // Do not change the following values here! // If you want to replace the handlers with your own, do it in // App_Start/WebApiConfig.cs ResultHandler = new DefaultMessageRouterResultHandler(); CommandHandler = new DefaultBotCommandHandler(RoutingDataManager); }
public ProcessInterruptedWithMenuCommand(string command, IBotCommandHandler commandHandler) { Command = command; CommandHandler = commandHandler; }
public BotCommandDefinition(string commandText, IBotCommandHandler handler) { CommandText = commandText; Handler = handler; }