Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Make WeakSubscribe<T>(this INotifyPropertyChanged target..) EventArgs parameter type more specific #918

Merged
merged 2 commits into from
Feb 18, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Xamarin.CommunityToolkit.ObjectModel.Extensions
{
public static class INotifyPropertyChangedEx
{
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)
Expand Down