///<summary> /// Creates the model(s) and controller(s) workers of the next provided Domain. ///</summary> ///<param name="nextDomain">The name of the next domain.</param> private static void CreateWorkers(string nextDomain) { //If the domain is in the masterpool, attempt to kill its workers if (masterPool.ContainsKey(nextDomain)) { MasterClass next = (MasterClass)masterPool[nextDomain]; if (!next.WorkersAlive) { next.CreateAndAssignWorkers(); } } }