Fix WeakSubscribe parameter type
This commit is contained in:
Родитель
83e35dbb64
Коммит
221ee0fe20
|
@ -5,7 +5,7 @@ namespace Xamarin.CommunityToolkit.ObjectModel.Extensions
|
|||
{
|
||||
public static class INotifyPropertyChangedExtension
|
||||
{
|
||||
public static void WeakSubscribe<T>(this INotifyPropertyChanged target, T subscriber, Action<T, object, EventArgs> action)
|
||||
public static void WeakSubscribe<T>(this INotifyPropertyChanged target, T subscriber, Action<T, object, PropertyChangedEventArgs> action)
|
||||
{
|
||||
_ = target ?? throw new ArgumentNullException(nameof(target));
|
||||
if (subscriber == null || action == null)
|
||||
|
|
Загрузка…
Ссылка в новой задаче