Exemple #1
0
 public virtual void OnError(IExceptionDescriptor exception)
 {
 }
 public override void OnError(IExceptionDescriptor exception)
 {
     _listeners.ForEach(x => x.OnError(exception));
 }
Exemple #3
0
 public OperationResult(IIdentity identity, string text, OperationType type, State state, [CanBeNull] IExceptionDescriptor exception)
     : base(identity, text, state)
 {
     _type      = type;
     _exception = exception;
 }
 public OperationResult(IIdentity identity, string text, OperationType type, State state, [CanBeNull] IExceptionDescriptor exception)
     : base(identity, text, state)
 {
     _type = type;
       _exception = exception;
 }
Exemple #5
0
 public virtual void OnError(IExceptionDescriptor exception)
 {
 }
Exemple #6
0
 public void OnError(IExceptionDescriptor exception)
 {
     _listeners.ForEach(x => x.OnError(exception));
 }
Exemple #7
0
 public static TaskException ToTaskException(this IExceptionDescriptor exception)
 {
     return(new TaskException(type: null, message: exception.FullName + ":\r\n" + exception.Message, stackTrace: exception.StackTrace));
 }
 public void OnError(IExceptionDescriptor exception)
 {
     _listener.OnError(exception);
 }
Exemple #9
0
 public void OnError(IExceptionDescriptor exception)
 {
     _listener.OnError(exception);
 }