Exemplo n.º 1
0
 public static void SetExpectedAnswer(this MyFirstAlexaSkill.Application.AlexaServiceResponse response, int answer)
 {
     response.sessionAttributes.Add("answer", answer.ToString());
 }
Exemplo n.º 2
0
 public static void SetQuestionType(this MyFirstAlexaSkill.Application.AlexaServiceResponse response, QuestionType type)
 {
     response.sessionAttributes.Add("questionType", type.ToString());
 }
Exemplo n.º 3
0
 public static void SetNumberOfQuestionsAsked(this MyFirstAlexaSkill.Application.AlexaServiceResponse response, int numberAsked)
 {
     response.sessionAttributes.Add("numberOfQuestionsAsked", numberAsked.ToString());
 }