TemplateStack Class

Definition

Represents a last-in-first-out (LIFO) collection of ITemplateFile template files.

public static class TemplateStack
type TemplateStack = class
Public Class TemplateStack
Inheritance
TemplateStack

Methods

GetCurrentTemplate(HttpContextBase)

Returns the current template file from the specified HTTP context.

Pop(HttpContextBase)

Removes and returns the template file that is at the top of the stack in the specified HTTP context.

Push(HttpContextBase, ITemplateFile)

Inserts a template file at the top of the stack in the specified HTTP context.

Applies to