Example #1
0
 /// <summary>
 ///
 /// </summary>
 public void SubscribeEvent(EventBusArgs e)
 {
     lock (sync_root)
     {
         foreach (IModuleHandle model in modules)
         {
             model.SubscribeEvent(e);
         }
     }
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 public void PubliushEvent(EventBusArgs e)
 {
     lock (sync_root)
     {
         foreach (IModuleHandle model in modules)
         {
             model.PublishEvent(e);
         }
     }
 }