CallStack

References
public sealed class CallStack
Represents the stack of objects that form the invocation sequence to a specific IDocumentObject. This is typically used to figure out whether an invocation sequence is in fact a loop (i.e. cyclical), but it may be useful for other purposes too.

Properties

All

#
Iterate over all objects in the stack.
public IEnumerable<IDocumentObject> All { get; }

Empty

#
Gets an empty call stack.
public static CallStack Empty { get; }

Methods

Contains

#
Test whether an object with the given instance ID is present in the invocation stack.
public bool Contains(
id
)
True if the object is part of the stack.

Contains

#
Test whether an object is present in the invocation stack.
public bool Contains(
obj
Object to search for.
)
True if the object is part of the stack.

Pop

#
Pop the head off this stack.
public CallStack Pop()

Operators

OperationResultDescription
CallStack+IDocumentObjectCallStackPush a new object to the head of this stack.