C# 클래스 Notify.PropertyChangedTrackedObject

Wraps INotifyPropertyChanged. Responsibility: Handle INotifyPropertyChanged.PropertyChanged and fire Changed. Create a TrackedObject for each eligible property (see IsEligibleProperty) and handle its Changed event. Keep track of these properties in _registeredProperties so that they can be cleaned up later. If an eligible property is assigned with a new object, create a TrackedObject for the new value and listen to its Changed event; at the same time, dispose old value in _registeredProperties so that it can be garbaged collected.
상속: TrackedObject
파일 보기 프로젝트 열기: buunguyen/notify 1 사용 예제들

보호된 메소드들

메소드 설명
GetBindingFlags ( TrackClassAttribute attribute ) : BindingFlags

비공개 메소드들

메소드 설명
GetClassAttribute ( object obj ) : TrackClassAttribute
IsEligibleProperty ( PropertyInfo property, TrackClassAttribute trackClassAttr ) : bool
OnPropertyChanged ( object sender, PropertyChangedEventArgs args ) : void
PropertyChangedTrackedObject ( object tracked ) : System.Collections.Generic
RegisterProperty ( object obj, PropertyInfo property ) : void
RegisterTrackedObject ( ) : void
RemoveProperty ( object propertyName ) : void
UnregisterTrackedObject ( ) : void

메소드 상세

GetBindingFlags() 보호된 정적인 메소드

protected static GetBindingFlags ( TrackClassAttribute attribute ) : BindingFlags
attribute TrackClassAttribute
리턴 BindingFlags