TemplateStack TemplateStack 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
TemplateStackTemplateStackTemplateStack

Methods

GetCurrentTemplate(HttpContextBase) GetCurrentTemplate(HttpContextBase) GetCurrentTemplate(HttpContextBase)

Returns the current template file from the specified HTTP context.

Pop(HttpContextBase) Pop(HttpContextBase) Pop(HttpContextBase)

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

Push(HttpContextBase, ITemplateFile) Push(HttpContextBase, ITemplateFile) Push(HttpContextBase, ITemplateFile)

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

Applies to