Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Error" /> class.
 /// </summary>
 /// <param name="error">error (required).</param>
 public Error(ErrorError error = default(ErrorError))
 {
     // to ensure "error" is required (not null)
     if (error == null)
     {
         throw new InvalidDataException("error is a required property for Error and cannot be null");
     }
     else
     {
         this._Error = error;
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Error" /> class.
 /// </summary>
 /// <param name="_Error">_Error.</param>
 public Error(ErrorError _Error = default(ErrorError))
 {
     this._Error = _Error;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Error" /> class.
 /// </summary>
 /// <param name="_Error">_Error.</param>
 public Error(ErrorError _Error = null)
 {
     this._Error = _Error;
 }