Click or drag to resize

SuspendableDocumentNodeBaseSetMemberAndRaiseSelfChangedT(T, T) 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.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected void SetMemberAndRaiseSelfChanged<T>(
	ref T memberVariable,
	T value
)
where T : Object, IEquatable<T>

Parameters

memberVariable  T
The member variable to set.
value  T
The new value.

Type Parameters

T
Type of member variable.
See Also