protected virtual void Dispose(bool disposing) { if (disposing) { // Code to dispose the managed resources of the class FontFamilyChangedEventManager.RemoveListener(FontFamilyManager.Instance, this); } // Code to dispose the un-managed resources of the class }
internal FontFamilyData() { FontFamilyChangedEventManager.AddListener(FontFamilyManager.Instance, this); }