/// <summary>
 /// Registers the <see cref="EmptyMessageHandlerTask"/> to the <see cref="BotMessagePipeline"/>.
 /// </summary>
 /// <param name="pipeline">The bot message pipeline.</param>
 /// <returns>Returns the <see cref="BotMessagePipeline"/> to enable subsequent calls.</returns>
 public static BotMessagePipeline AddEmptyHandler(this BotMessagePipeline pipeline)
 {
     pipeline.RegisterTask(new EmptyMessageHandlerTask());
     return(pipeline);
 }
예제 #2
0
 public static BotMessagePipeline AddLuisWindowsStoreAnalytics(this BotMessagePipeline pipeline)
 {
     pipeline.RegisterTask(new WindowsStoreAnalyticsHandlerTask());
     return(pipeline);
 }
예제 #3
0
 /// <summary>
 /// Adds the LUIS task to the pipeline.
 /// </summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns>Returns the pipeline to enable subsequent calls.</returns>
 public static BotMessagePipeline AddLuis(this BotMessagePipeline pipeline)
 {
     pipeline.RegisterTask(new LuisPipelineTask());
     return(pipeline);
 }
 public static BotMessagePipeline AddUnknownIntention(this BotMessagePipeline pipeline)
 {
     pipeline.RegisterTask(new UnknownIntentHandlerTask());
     return(pipeline);
 }
예제 #5
0
 public static BotMessagePipeline AddSayWhat(this BotMessagePipeline pipeline)
 {
     pipeline.RegisterTask(new PulpFictionHandlerTask());
     return(pipeline);
 }