ConstraintBuilder.ConstraintStack Class

Definition

ConstraintStack is a type-safe stack for holding Constraints

public class ConstraintBuilder.ConstraintStack
type ConstraintBuilder.ConstraintStack = class
Inheritance
ConstraintBuilder.ConstraintStack

Constructors

ConstraintBuilder.ConstraintStack(ConstraintBuilder)

Initializes a new instance of the ConstraintBuilder.ConstraintStack class.

Properties

Empty

Gets a value indicating whether this ConstraintBuilder.ConstraintStack is empty.

Top

Gets the topmost constraint without modifying the stack.

Methods

Pop()

Pops this topmost constrait from the stack. As a side effect, the constraint's builder field is set to null.

Push(Constraint)

Pushes the specified constraint. As a side effect, the constraint's builder field is set to the ConstraintBuilder owning this stack.

Applies to