This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Enhancement] Allow everyone access to the WeakEventManager class #8405
Labels
in-progress
This issue has an associated pull request that may resolve it!
proposal-open
t/enhancement ➕
Summary
I would like to use the WeakEventManager so that my event registrations don't hold on to object when they should have been removed.
API Changes
change the class viability modifier from internal to public on the class Xamarin.Forms.WeakEventManager
e.g.
internal class Xamarin.Forms.WeakEventManager
to
public class Xamarin.Forms.WeakEventManager
Intended Use Case
Allow object to be disposed if the only thing that still references then are event registrations
The text was updated successfully, but these errors were encountered: