Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The eShopOnContainers mobile app uses the ExtendedBindableObject class to provide change notifications.
public abstract class ExtendedBindableObject : BindableObject
{
    public void RaisePropertyChanged<T>(Expression<Func<T>> property)
    {
        var name = GetMemberInfo(property).Name;
        OnPropertyChanged(name);
    }
    private MemberInfo GetMemberInfo(Expression expression)
    {
        ...
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.