Exemple #1
0
 /// <summary>
 /// Perform calls to <see cref="M:Northwoods.Go.GoObject.CopyObjectDelayed(Northwoods.Go.GoCopyDictionary,Northwoods.Go.GoObject)" />
 /// for any objects that were added to <see cref="P:Northwoods.Go.GoCopyDictionary.Delayeds" />
 /// during earlier calls to <see cref="M:Northwoods.Go.GoCopyDictionary.Copy(Northwoods.Go.GoObject)" />.
 /// </summary>
 /// <remarks>
 /// This is primarily called by <see cref="T:Northwoods.Go.GoDocument" />'s
 /// <c>GoDocument.CopyFromCollection(IGoCollection, bool, bool, SizeF, GoCopyDictionary)</c> method.
 /// </remarks>
 public virtual void FinishDelayedCopies()
 {
     if (myDelayeds != null)
     {
         foreach (object delayed in Delayeds)
         {
             GoObject goObject = delayed as GoObject;
             if (goObject != null)
             {
                 GoObject goObject2 = this[goObject] as GoObject;
                 if (goObject2 != null)
                 {
                     goObject.CopyObjectDelayed(this, goObject2);
                 }
             }
         }
         Delayeds.Clear();
     }
 }