RazorEngine


ExecuteContext

Defined in RazorEngine.dll.

Defines a context for tracking template execution.

Constructors

ConstructorDescription
new()
Signature: unit -> unit

Creates a new instance of ExecuteContext.

new(viewbag)
Signature: viewbag:DynamicViewBag -> unit

DO NOT USE, throws NotSupportedException.

Instance members

Instance memberDescription
DefineSection(name, action)
Signature: (name:string * action:Action) -> unit

Defines a section used in layouts.

GetSectionDelegate(name)
Signature: name:string -> Action

Gets the section delegate.

Returns: The section delegate.

Fork me on GitHub