Click or drag to resize
AbstractActionContextTContextStoreOriginalValueTValue Method (NullableTValue, TValue)
Stores current value as the original value if original value hasn't been stored yet.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 9.0.0
Syntax
C#
protected virtual void StoreOriginalValue<TValue>(
	ref Nullable<TValue> originalValueProperty,
	TValue currentValue
)
where TValue : struct, new()

Parameters

originalValueProperty
Type: SystemNullableTValue
Original value property inner field.
currentValue
Type: TValue
Value of the property before it has been changed, hence the original value.

Type Parameters

TValue
Type of the property
See Also