Пример #1
0
        private void RaiseError(string format, params object[] args)
        {
            ReferenceErrorEventArgs e = new ReferenceErrorEventArgs();

            e.Message = string.Format(format, args);
            RaiseError(e);
        }
Пример #2
0
        private void RaiseError(ReferenceErrorEventArgs e)
        {
            EventHandler <ReferenceErrorEventArgs> handler = OnError;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Пример #3
0
 void refmanager_OnError(object sender, ReferenceErrorEventArgs e)
 {
     refManagerHasError = true;
     log.Warn(e.Message);
 }
Пример #4
0
 private void RaiseError(ReferenceErrorEventArgs e)
 {
     EventHandler<ReferenceErrorEventArgs> handler = OnError;
     if (handler != null)
     {
         handler(this, e);
     }
 }
Пример #5
0
 private void RaiseError(string format, params object[] args)
 {
     ReferenceErrorEventArgs e = new ReferenceErrorEventArgs();
     e.Message = string.Format(format, args);
     RaiseError(e);
 }
Пример #6
0
 void refmanager_OnError(object sender, ReferenceErrorEventArgs e)
 {
     refManagerHasError = true;
     logger.Log(Level.WARNING, e.Message);
 }
Пример #7
0
 void refmanager_OnError(object sender, ReferenceErrorEventArgs e)
 {
     refManagerHasError = true;
     log.Warn(e.Message);
 }