public void Finish(DynamicCSLogic target, EntityID parent, TimeSpan timeout) { if (!task.Wait(timeout)) { throw new ExecutionException(parent, AssemblyName + ": Failed to load/deserialize in " + timeout + ", after " + watch.Elapsed); } target.provider = provider; target.nestedLogic = instance; }
private void SendNewProvidersOf(SDS sds) { //Message("Checking providers of g" + sds.Generation); foreach (var e in sds.FinalEntities) { DynamicCSLogic logic = e.MyLogic as DynamicCSLogic; if (logic == null) { continue; } if (string.IsNullOrEmpty(logic.Provider.AssemblyName)) { throw new IntegrityViolation(""); } //Message("Checking logic " + logic.Provider); SendProvider(logic.Provider); } }