public void RegisterInstance(Guid id, IConcurrentObject @object) { ConcurrentApp.Spawn(@object); _objects[id] = @object; }
public static void Start(IConcurrentApp app) { __singleton = app.Spawn <__app>(); }
protected T spawn <T>(params object[] args) where T : ConcurrentObject { return(_app.Spawn <T>(args)); }