예제 #1
0
 protected BaseGlobalVariable()
 {
     FactoryManager  = new PlugInFactoryManager();
     CacheManager    = new CacheManager();
     fPlugInErrorLog = new PlugInErrorLog();
     DefaultValue    = new ToolkitDefaultValue();
     Config          = new DefaultToolkitConfig();
     InitializeToolkitCore();
 }
예제 #2
0
        protected override void LogPlugError(PlugInErrorLog errorLog)
        {
            if (errorLog.HasError)
            {
                string fileName = Path.Combine(BaseAppSetting.Current.XmlPath, "Dup.xml");
                string content  = errorLog.WriteXml(WriteSettings.Default, QName.ToolkitNoNS);
                FileUtil.SaveFile(fileName, content, WriteSettings.Default.Encoding);
            }
            TimingJobPlugInFactory factory = FactoryManager.GetCodeFactory(
                TimingJobPlugInFactory.REG_NAME).Convert <TimingJobPlugInFactory>();

            factory.FillTimingJobs(Jobs);
        }
예제 #3
0
 protected virtual void LogPlugError(PlugInErrorLog errorLog)
 {
 }