protected sealed override void Process(ThreadController myController) { myIterator.UpdateChanges(); while (myIterator.hasNext()) { if (myController != null) { T myEntitySetSave = myIterator.Current; myController.AddDelegate(delegate(Object A) { Process(myEntitySetSave); }); } else { Process(myIterator.Current); } } }
protected override void Process(ThreadController myController) { myIterator.UpdateChanges(); while (myIterator.hasNext()) { if (myController != null) { T mySavedReferenced = myReferenceSingleton; U myReferencedPolyMorphic = myIterator.Current; myController.AddDelegate(delegate(Object A) { Process(mySavedReferenced, myReferencedPolyMorphic); }); } else { Process(myReferenceSingleton, myIterator.Current); } } }