AbstractActionContextTContextStoreOriginalValueTValue Method (NullableTValue, TValue) |
Stores current value as the original value if original value hasn't been stored yet.
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 11.0.0
Syntax 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