Edit

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

Name Description
ConstraintBuilder.ConstraintStack(ConstraintBuilder)

Initializes a new instance of the ConstraintBuilder.ConstraintStack class.

Properties

Name Description
Empty

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

Top

Gets the topmost constraint without modifying the stack.

Methods

Name Description
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