Пример #1
0
 public void RunInterface()
 {
     this.Log.Debug(PluginName + " - Running interface.");
     try
     {
         _plugin.RunInterface(PluginName);
     }
     catch (Exception ex)
     {
         this.Log.Error(PluginName + " - Run Interface Error", ex);
     }
     this.Log.Debug(PluginName + " - Moving on...");
 }
Пример #2
0
        public void RunInterface(string serviceName)
        {
            Log = new OSAE.General.OSAELog(serviceName);
            Log.Debug(PluginName + " - Running interface.");
            try
            {
                _plugin.RunInterface(PluginName);
                _running = true;
            }
            catch (Exception ex)
            { Log.Error(PluginName + " - Run Interface Error", ex); }

            Log.Debug(PluginName + " - Moving on...");
        }
Пример #3
0
        public void RunInterface()
        {
            logging.AddToLog(PluginName + " - Running interface.", false);
            try
            {
                _plugin.RunInterface(PluginName);
            }
            catch (Exception ex)
            {
                logging.AddToLog(PluginName + " - Run Interface Error: " + ex.Message, true);
            }

            logging.AddToLog(PluginName + " - Moving on...", false);
        }