public void Add(LifeName name, object o) { LifeCycleConfig.LifeCycles[name].Add(o); if (name == LifeName.INIT && _initComplete) { if (o is IInit) { (o as IInit).Init(); } } }
public void Remove(LifeName name, object o) { LifeCycleConfig.LifeCycles[name].Remove(o); }
public void Add(LifeName name, object o) { LifeCycleConfig.Lifecycles[name].Add(o); }