private static IBindingMemberInfo FindUpdateEvent(Type type, string memberName) { IBindingMemberInfo member = MemberProvider.GetBindingMember(type, memberName + AttachedMemberConstants.ChangedEventPostfix, false, false); if (member == null || member.MemberType != BindingMemberType.Event) { member = MemberProvider.GetBindingMember(type, memberName + "Change", false, false); } if (member == null || member.MemberType != BindingMemberType.Event) { return(null); } return(member); }