Method NotUsingInitialValue
- Namespace
- SodaFlow
- Assembly
- SodaFlow.Core.dll
NotUsingInitialValue()
Records that this behavior no longer depends on the value it was constructed with.
protected virtual void NotUsingInitialValue()
Remarks
SodaFlow calls this when it gives ValueProperty a value. A derived type overrides this to release the data that it holds only to make that initial value. For an example, see LoopedBehavior<T>. It releases its deferred initial value here, thus a closed loop does not keep that value alive.