diff --git a/Alexa.NET/Response/OutputSpeech.cs b/Alexa.NET/Response/PlainTextOutputSpeech.cs similarity index 100% rename from Alexa.NET/Response/OutputSpeech.cs rename to Alexa.NET/Response/PlainTextOutputSpeech.cs diff --git a/Alexa.NET/ResponseBuilder.cs b/Alexa.NET/ResponseBuilder.cs index 071c56f..4402958 100644 --- a/Alexa.NET/ResponseBuilder.cs +++ b/Alexa.NET/ResponseBuilder.cs @@ -53,6 +53,7 @@ public static SkillResponse TellWithLinkAccountCard(IOutputSpeech speechResponse } #endregion + #region Ask Responses public static SkillResponse Ask(IOutputSpeech speechResponse, Reprompt reprompt) { return BuildResponse(speechResponse, false, null, reprompt, null); @@ -62,7 +63,9 @@ public static SkillResponse Ask(IOutputSpeech speechResponse, Reprompt reprompt, { return BuildResponse(speechResponse, false, sessionAttributes, reprompt, null); } + #endregion + #region Main Response Builder private static SkillResponse BuildResponse(IOutputSpeech outputSpeech, bool shouldEndSession, Session sessionAttributes, Reprompt reprompt, ICard card) { SkillResponse response = new Response.SkillResponse(); @@ -76,9 +79,10 @@ private static SkillResponse BuildResponse(IOutputSpeech outputSpeech, bool shou if (reprompt != null) body.Reprompt = reprompt; if (card != null) body.Card = card; - response.Response = body; //var test + response.Response = body; return response; } + #endregion } }