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; }
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; } }