Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ResponseQueryResults" /> class.
        /// </summary>


        /// <param name="Results">Contains the query results (required).</param>


        public ResponseQueryResults(ResponseEntityList Results = null)
        {
            // to ensure "Results" is required (not null)
            if (Results == null)
            {
                throw new InvalidDataException("Results is a required property for ResponseQueryResults and cannot be null");
            }
            else
            {
                this.Results = Results;
            }
        }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResponseQueryResults" /> class.
 /// </summary>
 /// <param name="Results">Contains the query results (required).</param>
 public ResponseQueryResults(ResponseEntityList Results = null)
 {
     this.Results = Results;
 }