Пример #1
0
        /// <summary>
        /// Create a new <Emphasis/> element and append it as a child of this element.
        /// </summary>
        /// <param name="words"> Words to emphasize, the body of the TwiML Element. </param>
        /// <param name="level"> Specify the degree of emphasis </param>
        public Say Emphasis(string words = null, SsmlEmphasis.LevelEnum level = null)
        {
            var newChild = new SsmlEmphasis(words, level);

            this.Append(newChild);
            return(this);
        }
Пример #2
0
 public Say SsmlEmphasis(SsmlEmphasis ssmlEmphasis)
 {
     this.Append(ssmlEmphasis);
     return(this);
 }