/// <summary> /// Inits this instance. /// </summary> public void Init() { if (HasParent) { if (!Parent.HasChildScope(Name)) { if (!Parent.AddChildScope(this)) { return; } } } if (AutoStart) { Start(); } }
/// <summary> /// Inits this instance. /// </summary> public void Init() { if (HasParent) { if (!Parent.HasChildScope(Name)) { if (!Parent.AddChildScope(this)) { return; } } } if (AutoStart) { Start(); } }