示例#1
0
 public void AddChild(object obj)
 {
     if (obj is GlobalEvents)
         globalEvents = (GlobalEvents)obj;
     if (obj is GlobalModules)
         globalModules = (GlobalModules)obj;
     if (obj is Mixins)
         mixins = (Mixins)obj;
     if (obj is WarmupActions)
         warmupActions = (WarmupActions)obj;
 }
示例#2
0
 public void AddChild(object obj)
 {
     if (obj is GlobalEvents)
     {
         globalEvents = (GlobalEvents)obj;
     }
     if (obj is GlobalModules)
     {
         globalModules = (GlobalModules)obj;
     }
     if (obj is Mixins)
     {
         mixins = (Mixins)obj;
     }
     if (obj is WarmupActions)
     {
         warmupActions = (WarmupActions)obj;
     }
 }