Method | Description | |
---|---|---|
ChangeNotificationWrapper ( object value ) : System |
Initializes a new instance of the ChangeNotificationWrapper class.
|
|
IsUsefulForObject ( object obj ) : bool |
Determines whether creating a ChangeNotificationWrapper is useful for the specified object.
|
|
OnObjectCollectionChanged ( object sender, |
Called when the target object raises the INotifyCollectionChanged.CollectionChanged event. This method is public to allow the usage of the WeakEventListener, do not call this method yourself. |
|
OnObjectCollectionItemPropertyChanged ( object sender, |
Called when the target object raises the INotifyPropertyChanged.PropertyChanged event of an object that is located inside the collection being monitored. This method is public to allow the usage of the WeakEventListener, do not call this method yourself. |
|
OnObjectPropertyChanged ( object sender, |
Called when the target object raises the INotifyPropertyChanged.PropertyChanged event. This method is public to allow the usage of the WeakEventListener, do not call this method yourself. |
|
SubscribeNotifyChangedEvents ( object value, ICollection parentCollection ) : void |
Subscribes to the notify changed events.
|
|
UnsubscribeFromAllEvents ( ) : void |
Unsubscribes from all events.
|
|
UnsubscribeNotifyChangedEvents ( object value, ICollection parentCollection ) : void |
Unsubscribes from the notify changed events. No need to check for weak events, they are unsubscribed automatically. |
|
UpdateCollectionSubscriptions ( ICollection collection ) : void |
Updates all the collection subscriptions.
|
Method | Description | |
---|---|---|
SubscribeNotifyChangedEvent ( object value, EventChangeType eventChangeType, ICollection parentCollection ) : void | ||
UnsubscribeNotifyChangedEvent ( object value, EventChangeType eventChangeType, ICollection parentCollection ) : void |
public ChangeNotificationWrapper ( object value ) : System | ||
value | object | The value. |
return | System |
public static IsUsefulForObject ( object obj ) : bool | ||
obj | object | The object to check. |
return | bool |
public OnObjectCollectionChanged ( object sender, |
||
sender | object | The sender. |
e | The |
|
return | void |
public OnObjectCollectionItemPropertyChanged ( object sender, |
||
sender | object | The sender. |
e | The |
|
return | void |
public OnObjectPropertyChanged ( object sender, |
||
sender | object | The sender. |
e | The |
|
return | void |
public SubscribeNotifyChangedEvents ( object value, ICollection parentCollection ) : void | ||
value | object | The object to subscribe to. |
parentCollection | ICollection | If not |
return | void |
public UnsubscribeNotifyChangedEvents ( object value, ICollection parentCollection ) : void | ||
value | object | The object to unsubscribe from. |
parentCollection | ICollection | The parent collection. |
return | void |
public UpdateCollectionSubscriptions ( ICollection collection ) : void | ||
collection | ICollection | |
return | void |