Пример #1
0
        protected void InvokeError(string message, Exception exception)
        {
            var args = new OperationErrorEventArgs(message, exception);

            LastError = args;
            Error?.Invoke(this, args);
        }
Пример #2
0
 protected void InvokeError(string message, Exception exception)
 {
     var args = new OperationErrorEventArgs(message, exception);
     LastError = args;
     if (Error != null)
     {
         Error.Invoke(this, args);
     }
 }
Пример #3
0
 void operation_Error(object sender, OperationErrorEventArgs e)
 {
     Invoke(() => errorOutput.DisplayError(e.ErrorMessage, e.Exception));
 }
Пример #4
0
 void operation_Error(object sender, OperationErrorEventArgs e)
 {
     errorOutput.DisplayError(e.ErrorMessage);
 }