Exemplo n.º 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);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new SsmlEmphasis
 /// </summary>
 /// <param name="words"> Words to emphasize, the body of the TwiML Element. </param>
 /// <param name="level"> Specify the degree of emphasis </param>
 public SsmlEmphasis(string words = null, SsmlEmphasis.LevelEnum level = null) : base("emphasis")
 {
     this.Words = words;
     this.Level = level;
 }
Exemplo n.º 3
0
 public Say SsmlEmphasis(string words = null, SsmlEmphasis.LevelEnum level = null)
 {
     return(Emphasis(words, level));
 }