Table of Contents

Interface IStackManager<TFrame>

Namespace
RDCore.SDK.Runtime.Abstract.Execution
Assembly
RDCore.SDK.dll
public interface IStackManager<TFrame> where TFrame : IStackFrame, IEquatable<TFrame>

Type Parameters

TFrame

Methods

Clear()

Clears the managed stack.

void Clear()

TryPop(out TFrame)

Pops the top-most frame from the managed stack.

bool TryPop(out TFrame frame)

Parameters

frame TFrame

The retrieved stack frame, if successful.

Returns

bool

true if the frame was successfully popped, false otherwise.

TryPush(TFrame)

Pushes the specified frame to the managed stack.

bool TryPush(TFrame frame)

Parameters

frame TFrame

The stack frame to be pushed.

Returns

bool

true if the frame was successfully pushed, false otherwise.