public static GlobalCoordinator GetInstance()
 {
     if (instance == null)
     {
         instance = new GlobalCoordinator();
     }
     return(instance);
 }
Ejemplo n.º 2
0
 protected void registerClass()
 {
     GlobalCoordinator.GetInstance().Add(this);
 }
 public static List <SlaveBase> GetObject(Type type)
 {
     return(GlobalCoordinator.GetInstance().Where(x => x.GetType() == type).ToList <SlaveBase>());
 }