SuspendableDocumentNodeBaseSetMemberAndRaiseSelfChangedT(NullableT, NullableT) Method |
Sets a member variable of this instance and raise a change event with
Empty if the new value is different from the old value.
The comparison is done using the
IEquatableT interface of the member variable.
Note: to set members that implement
IDocumentNode please use the Child... functions.
Namespace: Altaxo.MainAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax protected void SetMemberAndRaiseSelfChanged<T>(
ref T? memberVariable,
T? value
)
where T : struct, new(), IEquatable<T>
Parameters
- memberVariable NullableT
- The member variable to set.
- value NullableT
- The new value.
Type Parameters
- T
- Type of member variable.
See Also