Beispiel #1
0
 /// <summary>
 /// Dispose the object
 /// </summary>
 public override void Dispose()
 {
     name = null;
     imageProp.Dispose();
     imageProp = null;
     foreach (WzImageProperty prop in properties)
     {
         prop.Dispose();
     }
     properties.Clear();
     properties = null;
 }
Beispiel #2
0
 /// <summary>
 /// Dispose the object
 /// </summary>
 public override void Dispose()
 {
     mName        = null;
     _inlink      = null;
     _inlinkValue = null;
     _outlink     = null;
     if (_outlinkValue != null)
     {
         mImgParent.AddReferencedImage(_outlinkValue.ParentImage);
     }
     _outlinkValue = null;
     mImageProp.Dispose();
     mImageProp = null;
     foreach (AWzImageProperty prop in mProperties)
     {
         prop.Dispose();
     }
     mProperties.Clear();
     mProperties = null;
 }