Example #1
0
        /// <summary>
        /// Create a new <Lang/> element and append it as a child of this element.
        /// </summary>
        /// <param name="words"> Words to speak, the body of the TwiML Element. </param>
        /// <param name="xml:Lang"> Specify the language </param>
        public Say Lang(string words = null, SsmlLang.XmlLangEnum xmlLang = null)
        {
            var newChild = new SsmlLang(words, xmlLang);

            this.Append(newChild);
            return(this);
        }
Example #2
0
 public Say SsmlLang(string words = null, SsmlLang.XmlLangEnum xmlLang = null)
 {
     return(Lang(words, xmlLang));
 }
Example #3
0
 /// <summary>
 /// Create a new SsmlLang
 /// </summary>
 /// <param name="words"> Words to speak, the body of the TwiML Element. </param>
 /// <param name="xml:Lang"> Specify the language </param>
 public SsmlLang(string words = null, SsmlLang.XmlLangEnum xmlLang = null) : base("lang")
 {
     this.Words   = words;
     this.XmlLang = xmlLang;
 }