Exemplo n.º 1
0
 /// <summary>
 /// A chunk of text to be spoken, along with parameters that affect its speech.
 /// </summary>
 /// <param name="speechString">The text to be spoken in the utterance.</param>
 /// <param name="parameters">Parameters that affect the speech</param>
 public SpeechUtterance(string speechString, SpeechUtteranceParameters parameters)
 {
     SpeechString = speechString;
     _parameters  = parameters;
 }
Exemplo n.º 2
0
 /// <summary>
 /// A chunk of text to be spoken, created with standard parameters
 /// </summary>
 /// <param name="speechString">The text to be spoken in the utterance.</param>
 public SpeechUtterance(string speechString)
 {
     SpeechString = speechString;
     _parameters  = new SpeechUtteranceParameters();
 }