Exemplo n.º 1
0
 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);
         }
     }
 }
Exemplo n.º 2
0
 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);
         }
     }
 }