Class LetCoercionStackManager
public sealed class LetCoercionStackManager : StackManager<LetCoercionStackFrame>
- Inheritance
-
LetCoercionStackManager
- Inherited Members
Methods
OnBeforeTryPop()
🧩 override this method in a derived class to intercept and abort a frame pop.
protected override sealed bool OnBeforeTryPop()
Returns
- bool
trueif the pop can proceed,falseif it's aborted.
OnBeforeTryPush(LetCoercionStackFrame)
🧩 override this method in a derived class to intercept and abort a frame push.
protected override sealed bool OnBeforeTryPush(LetCoercionStackFrame frame)
Parameters
frameLetCoercionStackFrameThe stack frame to be pushed.
Returns
- bool
trueif the push can proceed,falseif it's aborted.
OnFramePopped(LetCoercionStackFrame)
🧩 override this method in a derived class to inject behavior whenever a frame is successfully popped from the managed stack.
protected override sealed void OnFramePopped(LetCoercionStackFrame frame)
Parameters
frameLetCoercionStackFrameThe stack frame that was popped.
OnPushed(LetCoercionStackFrame)
🧩 override this method in a derived class to inject behavior whenever a frame has been pushed onto the managed stack.
protected override sealed void OnPushed(LetCoercionStackFrame frame)
Parameters
frameLetCoercionStackFrameThe stack frame that was pushed.
OnStackCleared()
🧩 override this method to clean up any instance state in a derived class when the managed stack is cleared..
protected override sealed void OnStackCleared()