示例#1
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;
 }