18 writes to _attributes
System.Speech (18)
Synthesis\PromptBuilder.cs (18)
98
prosodyElement.
_attributes
= new Collection<AttributeItem>();
138
prosodyElement.
_attributes
= new Collection<AttributeItem>();
159
emphasisElement.
_attributes
= new Collection<AttributeItem>();
182
emphasisElement.
_attributes
= new Collection<AttributeItem>();
218
prosodyElement.
_attributes
= new Collection<AttributeItem>();
239
prosodyElement.
_attributes
??= new Collection<AttributeItem>();
289
startVoice.
_attributes
= new Collection<AttributeItem>();
371
startParagraph.
_attributes
= new Collection<AttributeItem>();
408
startSentence.
_attributes
= new Collection<AttributeItem>();
442
sayAsElement.
_attributes
= new Collection<AttributeItem>();
555
sayAsElement.
_attributes
= new Collection<AttributeItem>();
572
phoneElement.
_attributes
= new Collection<AttributeItem>();
586
subElement.
_attributes
= new Collection<AttributeItem>();
636
breakElement.
_attributes
= new Collection<AttributeItem>();
652
breakElement.
_attributes
= new Collection<AttributeItem>();
686
audioElement.
_attributes
= new Collection<AttributeItem>();
700
audioElement.
_attributes
= new Collection<AttributeItem>();
715
bookmarkElement.
_attributes
= new Collection<AttributeItem>();
25 references to _attributes
System.Speech (25)
Synthesis\PromptBuilder.cs (25)
99
prosodyElement.
_attributes
.Add(new AttributeItem("rate", sPromptRate));
139
prosodyElement.
_attributes
.Add(new AttributeItem("volume", sVolumeLevel));
160
emphasisElement.
_attributes
.Add(new AttributeItem("level", emphasis.ToString().ToLowerInvariant()));
183
emphasisElement.
_attributes
.Add(new AttributeItem("level", style.Emphasis.ToString().ToLowerInvariant()));
219
prosodyElement.
_attributes
.Add(new AttributeItem("rate", sPromptRate));
240
prosodyElement.
_attributes
.Add(new AttributeItem("volume", sVolumeLevel));
294
startVoice.
_attributes
.Add(new AttributeItem("name", voice.Name));
299
startVoice.
_attributes
.Add(new AttributeItem("xml", "lang", voice.Culture.Name));
304
startVoice.
_attributes
.Add(new AttributeItem("gender", voice.Gender.ToString().ToLowerInvariant()));
309
startVoice.
_attributes
.Add(new AttributeItem("age", ((int)voice.Age).ToString(CultureInfo.InvariantCulture)));
314
startVoice.
_attributes
.Add(new AttributeItem("variant", voice.Variant.ToString(CultureInfo.InvariantCulture)));
372
startParagraph.
_attributes
.Add(new AttributeItem("xml", "lang", culture.Name));
409
startSentence.
_attributes
.Add(new AttributeItem("xml", "lang", culture.Name));
533
sayAsElement.
_attributes
.Add(new AttributeItem("interpret-as", sInterpretAs));
536
sayAsElement.
_attributes
.Add(new AttributeItem("format", sFormat));
556
sayAsElement.
_attributes
.Add(new AttributeItem("interpret-as", sayAs));
573
phoneElement.
_attributes
.Add(new AttributeItem("ph", pronunciation));
587
subElement.
_attributes
.Add(new AttributeItem("alias", substitute));
637
breakElement.
_attributes
.Add(new AttributeItem("strength", sBreak));
653
breakElement.
_attributes
.Add(new AttributeItem("time", duration.TotalMilliseconds + "ms"));
687
audioElement.
_attributes
.Add(new AttributeItem("src", audioFile.ToString()));
701
audioElement.
_attributes
.Add(new AttributeItem("src", audioFile.ToString()));
716
bookmarkElement.
_attributes
.Add(new AttributeItem("name", bookmarkName));
902
if (element.
_attributes
!= null)
904
foreach (AttributeItem attribute in element.
_attributes
)