示例#1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="T:Response"/> class and set's it's Error property.
        /// </summary>
        /// <param name="error">The error object of the response.</param>
        public Response(ResponseError error)
        {
            Contract.Requires(error != null);

            this.Error = error;
        }