public bool OnProcessingErrorOccurred(ProcessingErrorTypes aType, string aInformation)
        {
            if (ProcessingErrorOccurred != null)
            {
                var args = new ProcessingErrorOccurredEventArgs(aType, aInformation);
                ProcessingErrorOccurred(this, args);

                return(args.Abort);
            }

            return(false);
        }
Exemple #2
0
 public ProcessingErrorOccurredEventArgs(ProcessingErrorTypes aType, string aInformation)
 {
     Information = aInformation;
     ErrorType   = aType;
 }
        public bool OnProcessingErrorOccurred( ProcessingErrorTypes aType, string aInformation )
        {
            if ( ProcessingErrorOccurred != null ) {
            var args = new ProcessingErrorOccurredEventArgs( aType, aInformation );
            ProcessingErrorOccurred( this, args );

            return args.Abort;
              }

              return false;
        }
 public ProcessingErrorOccurredEventArgs( ProcessingErrorTypes aType, string aInformation )
 {
     Information = aInformation;
       ErrorType = aType;
 }