示例#1
0
        private static TropoModel ConvertSay(global::VoiceModel.Say model)
        {
            TropoModel tmodel = new TropoModel();

            ConvertPromptList(model.prompts, ref tmodel);
            return(tmodel);
        }
示例#2
0
        private static string ConvertSay(global::VoiceModel.Say model)
        {
            Tropo tmodel = new Tropo();

            ConvertPromptList(model.prompts, model.json, ref tmodel);
            tmodel.On("continue", model.nextUri, null);
            return(tmodel.RenderJSON());
        }