Beispiel #1
0
 //缓存数据集检查对象初始事件
 public virtual void EventHandler_DataCachesChecksInitial(object sender, DataCaches_Event e)
 {
     //事件转发-外部实现
     if (this.DataCachesChecks_Initial != null)
     {
         try
         {
             this.DataCachesChecks_Initial(sender, e);
         }
         catch (Exception)
         {
             throw;
         }
     }
 }
Beispiel #2
0
 //缓存数据检查对象初始事件--便于外部统一设置检查对象
 public bool Event_DataChecks_Initial()
 {
     if (this.DataChecks_Initial != null)
     {
         DataCaches_Event pArgs = new DataCaches_Event(this);
         try
         {
             this.DataChecks_Initial(null, pArgs);
         }
         catch (Exception)
         {
             throw;
         }
     }
     return(true);
 }