Example #1
0
 /* Eg: give me a stock check XYZ */
 public static void ItemResponse(ConversationContext cContext, TokenRequest p1, TokenQueryQuantity p2, TokenQuotedPhrase p3)
 {
     cContext.Say(CreateResponse(p3.Value.ToString()), null);
 }
Example #2
0
 /* Eg: stock check */
 public static void ItemResponse(ConversationContext cContext, TokenQueryQuantity p1)
 {
     // Ask for which item
     cContext.AskQuestion(CreateResponse(null));
 }
Example #3
0
 /* Eg: give me a stock check for item */
 public static void ItemResponse(ConversationContext cContext, TokenRequest p1, TokenQueryQuantity p2, TokenFor p3, TokenItem p4)
 {
     // Ask for which item
     cContext.AskQuestion(CreateResponse(null));
 }
Example #4
0
 /* Eg: stock check for item XYZ */
 public static void ItemResponse(ConversationContext cContext, TokenQueryQuantity p1, TokenFor p2, TokenItem p3, TokenQuotedPhrase p4)
 {
     cContext.Say(CreateResponse(p4.Value.ToString()), null);
 }