Example #1
0
        /// <summary>
        /// Create a new <Sub/> element and append it as a child of this element.
        /// </summary>
        /// <param name="words"> Words to be substituted, the body of the TwiML Element. </param>
        /// <param name="alias"> Substitute a different word (or pronunciation) for selected text such as an acronym or
        ///             abbreviation </param>
        public Say Sub(string words = null, string alias = null)
        {
            var newChild = new SsmlSub(words, alias);

            this.Append(newChild);
            return(this);
        }
Example #2
0
 public Say SsmlSub(SsmlSub ssmlSub)
 {
     this.Append(ssmlSub);
     return(this);
 }