Exemple #1
0
 /* Eg: address for XYZ */
 public static void AddressResponse(ConversationContext cContext, TokenQueryAddress p1, TokenFor p2, TokenQuotedPhrase p3)
 {
     cContext.Say(CreateResponse(p3.Value.ToString()), null);
 }
Exemple #2
0
 /* Eg: address */
 public static void AddressResponse(ConversationContext cContext, TokenQueryAddress p1)
 {
     // Ask for which customer
     cContext.AskQuestion(CreateResponse(null));
 }
Exemple #3
0
 /* Eg: give me address for customer */
 public static void AddressResponse(ConversationContext cContext, TokenRequest p1, TokenQueryAddress p2, TokenFor p3, TokenCustomer p4)
 {
     // Ask for which customer
     cContext.AskQuestion(CreateResponse(null));
 }
Exemple #4
0
 /* Eg: give me customeraddress for xyz*/
 public static void AddressResponse(ConversationContext cContext, TokenRequest p1, TokenCustomer p2, TokenQueryAddress p3, TokenFor p4, TokenQuotedPhrase p5)
 {
     cContext.Say(CreateResponse(p5.Value.ToString()), null);
 }