ExecuteContext
Defined in RazorEngine.dll.
Defines a context for tracking template execution.
Constructors
Constructor | Description |
new()
Signature: unit -> unit
|
Creates a new instance of ExecuteContext. |
new(viewbag)
Signature: viewbag:DynamicViewBag -> unit
|
DO NOT USE, throws NotSupportedException. |
Instance members
Instance member | Description |
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. |