Synthesis\PromptBuilder.cs (21)
99prosodyElement._attributes.Add(new AttributeItem("rate", sPromptRate));
139prosodyElement._attributes.Add(new AttributeItem("volume", sVolumeLevel));
160emphasisElement._attributes.Add(new AttributeItem("level", emphasis.ToString().ToLowerInvariant()));
183emphasisElement._attributes.Add(new AttributeItem("level", style.Emphasis.ToString().ToLowerInvariant()));
219prosodyElement._attributes.Add(new AttributeItem("rate", sPromptRate));
240prosodyElement._attributes.Add(new AttributeItem("volume", sVolumeLevel));
294startVoice._attributes.Add(new AttributeItem("name", voice.Name));
304startVoice._attributes.Add(new AttributeItem("gender", voice.Gender.ToString().ToLowerInvariant()));
309startVoice._attributes.Add(new AttributeItem("age", ((int)voice.Age).ToString(CultureInfo.InvariantCulture)));
314startVoice._attributes.Add(new AttributeItem("variant", voice.Variant.ToString(CultureInfo.InvariantCulture)));
533sayAsElement._attributes.Add(new AttributeItem("interpret-as", sInterpretAs));
536sayAsElement._attributes.Add(new AttributeItem("format", sFormat));
556sayAsElement._attributes.Add(new AttributeItem("interpret-as", sayAs));
573phoneElement._attributes.Add(new AttributeItem("ph", pronunciation));
587subElement._attributes.Add(new AttributeItem("alias", substitute));
637breakElement._attributes.Add(new AttributeItem("strength", sBreak));
653breakElement._attributes.Add(new AttributeItem("time", duration.TotalMilliseconds + "ms"));
687audioElement._attributes.Add(new AttributeItem("src", audioFile.ToString()));
701audioElement._attributes.Add(new AttributeItem("src", audioFile.ToString()));
716bookmarkElement._attributes.Add(new AttributeItem("name", bookmarkName));
1067: this(key, value)