Beispiel #1
0
        /// <summary>
        /// Create a new <Phoneme/> 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="alphabet"> Specify the phonetic alphabet </param>
        /// <param name="ph"> Specifiy the phonetic symbols for pronunciation </param>
        public Say Phoneme(string words = null, SsmlPhoneme.AlphabetEnum alphabet = null, string ph = null)
        {
            var newChild = new SsmlPhoneme(words, alphabet, ph);

            this.Append(newChild);
            return(this);
        }
Beispiel #2
0
 public Say SsmlPhoneme(string words = null, SsmlPhoneme.AlphabetEnum alphabet = null, string ph = null)
 {
     return(Phoneme(words, alphabet, ph));
 }
 /// <summary>
 /// Create a new SsmlPhoneme
 /// </summary>
 /// <param name="words"> Words to speak, the body of the TwiML Element. </param>
 /// <param name="alphabet"> Specify the phonetic alphabet </param>
 /// <param name="ph"> Specifiy the phonetic symbols for pronunciation </param>
 public SsmlPhoneme(string words = null, SsmlPhoneme.AlphabetEnum alphabet = null, string ph = null) : base("phoneme")
 {
     this.Words    = words;
     this.Alphabet = alphabet;
     this.Ph       = ph;
 }