INotifyNotifyOfChangeT Method (T, T, String, Action) |
Notifies the of change.
Namespace:
Xcalibur.Extensions.MVVM.Interfaces
Assembly:
Xcalibur.Extensions.MVVM (in Xcalibur.Extensions.MVVM.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax void NotifyOfChange<T>(
T newValue,
ref T valueReference,
[CallerMemberNameAttribute] string propertyName = null,
Action onChanged = null
)
Sub NotifyOfChange(Of T) (
newValue As T,
ByRef valueReference As T,
<CallerMemberNameAttribute> Optional propertyName As String = Nothing,
Optional onChanged As Action = Nothing
)
generic<typename T>
void NotifyOfChange(
T newValue,
T% valueReference,
[CallerMemberNameAttribute] String^ propertyName = nullptr,
Action^ onChanged = nullptr
)
abstract NotifyOfChange :
newValue : 'T *
valueReference : 'T byref *
[<CallerMemberNameAttribute>] ?propertyName : string *
?onChanged : Action
(* Defaults:
let _propertyName = defaultArg propertyName null
let _onChanged = defaultArg onChanged null
*)
-> unit
Parameters
- newValue
- Type: T
The new value. - valueReference
- Type: T
The value reference. - propertyName (Optional)
- Type: SystemString
Name of the property. - onChanged (Optional)
- Type: SystemAction
The on changed.
Type Parameters
- T
See Also