/// <summary> /// Disposes of the object /// </summary> /// <param name="Managed">Ignored in this object</param> protected override void Dispose(bool Managed) { if (Attachments != null) { Attachments.ForEach(x => x.Dispose()); Attachments = null; } if (EmbeddedResources != null) { EmbeddedResources.ForEach(x => x.Dispose()); EmbeddedResources = null; } }