Ejemplo n.º 1
0
 internal CallError(Call call, SparkError error)
     : base(call)
 {
     this.error = error;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SparkApiEventArgs"/> class.
 /// </summary>
 /// <param name="isSuccess">if set to <c>true</c> [success].</param>
 /// <param name="error">The error value if the successis is false, `null` otherwise. <see cref="SparkError"/></param>
 /// <remarks>Since: 0.1.0</remarks>
 public SparkApiEventArgs(bool isSuccess, SparkError error)
 {
     this.isSuccess = isSuccess;
     this.error     = error;
 }