Interface IPropertyAccessorPlugin
Defines how a member is read, written and observed by a binding.
public interface IPropertyAccessorPlugin
Methods
Match(object, string)
Checks whether this plugin can handle accessing the properties of the specified object.
bool Match(object obj, string propertyName)
Parameters
Returns
- bool
True if the plugin can handle the property on the object; otherwise false.
Start(WeakReference<object?>, string)
Starts monitoring the value of a property on an object.
IPropertyAccessor? Start(WeakReference<object?> reference, string propertyName)
Parameters
reference
WeakReference<object>A weak reference to the object.
propertyName
stringThe property name.
Returns
- IPropertyAccessor
An IPropertyAccessor interface through which future interactions with the property will be made.