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