Click or drag to resize

ModelBaseSubscribe Method (String, ActionObject, NullableGuid)

Subscribes an action to a specific property that will be called during that property's OnPropertyChanged event.

Namespace:  Xcalibur.Extensions.MVVM.Models
Assembly:  Xcalibur.Extensions.MVVM (in Xcalibur.Extensions.MVVM.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Subscribe(
	string propertyName,
	Action<Object> onChanged,
	Nullable<Guid> ownerId = null
)

Parameters

propertyName
Type: SystemString
Name of the property.
onChanged
Type: SystemActionObject
The onchanged action.
ownerId (Optional)
Type: SystemNullableGuid
The owner identifier.

Implements

ISubscribeSubscribe(String, ActionObject, NullableGuid)
Exceptions
ExceptionCondition
ExceptionProperty \ + propertyName + \ could not be + found for type \ + GetType().ToString() + \!
See Also