From 5b088d57da3770779c76865244cabb602ffa8840 Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Sun, 25 Dec 2016 17:38:26 -0700 Subject: [PATCH] Comment cleanup/rename --- .../Response/{OutputSpeech.cs => PlainTextOutputSpeech.cs} | 0 Alexa.NET/ResponseBuilder.cs | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) rename Alexa.NET/Response/{OutputSpeech.cs => PlainTextOutputSpeech.cs} (100%) 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 } }