コード例 #1
0
ファイル: Start.cs プロジェクト: ssirjann/twilio-csharp
        /// <summary>
        /// Create a new <Siprec/> element and append it as a child of this element.
        /// </summary>
        /// <param name="name"> Friendly name given to SIPREC </param>
        /// <param name="connectorName"> Unique name for Connector </param>
        /// <param name="track"> Track to be streamed to remote service </param>
        public Start Siprec(string name = null, string connectorName = null, Siprec.TrackEnum track = null)
        {
            var newChild = new Siprec(name, connectorName, track);

            this.Append(newChild);
            return(this);
        }
コード例 #2
0
        /// <summary>
        /// Create a new <Siprec/> element and append it as a child of this element.
        /// </summary>
        /// <param name="name"> Friendly name given to SIPREC </param>
        /// <param name="connectorName"> Unique name for Connector </param>
        public Stop Siprec(string name = null, string connectorName = null)
        {
            var newChild = new Siprec(name, connectorName);

            this.Append(newChild);
            return(this);
        }
コード例 #3
0
ファイル: Start.cs プロジェクト: ssirjann/twilio-csharp
 public Start Siprec(Siprec siprec)
 {
     this.Append(siprec);
     return(this);
 }