C# Class Illusion.BindingEngine.WeakSource

Inheritance: System.WeakReference
Mostra file Open project: kasicass/kasicass

Public Properties

Property Type Description
Actions IList>.Dictionary
Targets IList>.Dictionary

Public Methods

Method Description
HandlePropertyChanged ( object sender, PropertyChangedEventArgs args ) : void

Handles the property changed.

NotifyPropertyChanged ( INotifyPropertyChanged target, string targetProp ) : void

Notifies the property changed.

Register ( Object source, INotifyPropertyChanged target, Delegate action, string targetProp, IDataConverter converter = null, object parameter = null ) : WeakSource

Registers the specified source.

UnRegister ( Object source, Delegate action, string targetProp ) : void

Unregister the specified source.

Private Methods

Method Description
WeakSource ( Object source ) : System

Initializes a new instance of the WeakSource class.

Method Details

HandlePropertyChanged() public method

Handles the property changed.
public HandlePropertyChanged ( object sender, PropertyChangedEventArgs args ) : void
sender object The sender.
args System.ComponentModel.PropertyChangedEventArgs The instance containing the event data.
return void

NotifyPropertyChanged() public method

Notifies the property changed.
public NotifyPropertyChanged ( INotifyPropertyChanged target, string targetProp ) : void
target INotifyPropertyChanged The target.
targetProp string The target prop.
return void

Register() public static method

Registers the specified source.
public static Register ( Object source, INotifyPropertyChanged target, Delegate action, string targetProp, IDataConverter converter = null, object parameter = null ) : WeakSource
source Object The source.
target INotifyPropertyChanged The target.
action System.Delegate The action.
targetProp string The target prop.
converter IDataConverter The converter.
parameter object The converter parameter.
return WeakSource

UnRegister() public static method

Unregister the specified source.
public static UnRegister ( Object source, Delegate action, string targetProp ) : void
source Object The source.
action System.Delegate The action.
targetProp string The target prop.
return void

Property Details

Actions public_oe property

public Dictionary> Actions
return IList>.Dictionary

Targets public_oe property

public Dictionary> Targets
return IList>.Dictionary