Exemplo n.º 1
0
        /// <summary>
        /// Create a new <Say-As/> element and append it as a child of this element.
        /// </summary>
        /// <param name="words"> Words to be interpreted, the body of the TwiML Element. </param>
        /// <param name="interpret-As"> Specify the type of words are spoken </param>
        /// <param name="role"> Specify the format of the date when interpret-as is set to date </param>
        public Say SayAs(string words = null, SsmlSayAs.InterpretAsEnum interpretAs = null, SsmlSayAs.RoleEnum role = null)
        {
            var newChild = new SsmlSayAs(words, interpretAs, role);

            this.Append(newChild);
            return(this);
        }
Exemplo n.º 2
0
 public Say SsmlSayAs(SsmlSayAs ssmlSayAs)
 {
     this.Append(ssmlSayAs);
     return(this);
 }