Esempio n. 1
0
        /// <summary>
        /// Create a new <Reject/> element and append it as a child of this element.
        /// </summary>
        /// <param name="reason"> Rejection reason </param>
        public VoiceResponse Reject(Reject.ReasonEnum reason = null)
        {
            var newChild = new Reject(reason);

            this.Append(newChild);
            return(this);
        }
Esempio n. 2
0
 public VoiceResponse Reject(Reject reject)
 {
     this.Append(reject);
     return this;
 }