Inheritance: System.Exception
Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the InsertResult class.
 /// </summary>
 /// <param name="success"></param>
 /// <param name="restException"></param>
 /// <param name="getInsertedFeatures"></param>
 public InsertResult(bool success, RestException restException = null, Func <T[]> getInsertedFeatures = null)
     : base(success, restException)
 {
     _insertedFeatures = new Lazy <T[]>(() => getInsertedFeatures == null ? new T[] { } : getInsertedFeatures());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the UpdateResult class.
 /// </summary>
 /// <param name="success"></param>
 /// <param name="restException"></param>
 public UpdateResult(bool success, RestException restException = null)
     : base(success, restException)
 {
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the EditResultBase class.
 /// </summary>
 /// <param name="success"></param>
 /// <param name="restException"></param>
 protected EditResultBase(bool success, RestException restException)
 {
     Success       = success;
     RestException = restException;
 }