Пример #1
0
        /// <summary>
        /// Create a new <Break/> element and append it as a child of this element.
        /// </summary>
        /// <param name="strength"> Set a pause based on strength </param>
        /// <param name="time"> Set a pause to a specific length of time in seconds or milliseconds, available values:
        ///            [number]s, [number]ms </param>
        public Say Break(SsmlBreak.StrengthEnum strength = null, string time = null)
        {
            var newChild = new SsmlBreak(strength, time);

            this.Append(newChild);
            return(this);
        }
Пример #2
0
 public Say SsmlBreak(SsmlBreak ssmlBreak)
 {
     this.Append(ssmlBreak);
     return(this);
 }