コード例 #1
0
ファイル: Say.cs プロジェクト: jhabjan/twilio-csharp
        /// <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
ファイル: SsmlBreak.cs プロジェクト: sroye98/twilio-csharp
 /// <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;
 }
コード例 #3
0
ファイル: Say.cs プロジェクト: jhabjan/twilio-csharp
 public Say SsmlBreak(SsmlBreak.StrengthEnum strength = null, string time = null)
 {
     return(Break(strength, time));
 }