Click or drag to resize

SuspendableDocumentNodeBaseSetMemberEnumAndRaiseSelfChangedT Method

Sets a member variable (which is an Enum) 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 SetMemberEnumAndRaiseSelfChanged<T>(
	ref T memberVariable,
	T value
)

Parameters

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

Type Parameters

T
Type of member variable.
See Also