Beispiel #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);
        }
Beispiel #2
0
 /// <summary>
 /// Create a new SsmlBreak
 /// </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 SsmlBreak(SsmlBreak.StrengthEnum strength = null, string time = null) : base("break")
 {
     this.Strength = strength;
     this.Time     = time;
 }
Beispiel #3
0
 public Say SsmlBreak(SsmlBreak.StrengthEnum strength = null, string time = null)
 {
     return(Break(strength, time));
 }