ScriptFileContext Class
Context object used for File based script parsing. The main purpose of this context is to pass data through so that Layout and Sections and partials can be processed reliably.
Westwind.Scripting.ScriptFileContext
Class Members
Member | Description | |
---|---|---|
![]() |
Constructor | |
![]() |
BasePath | The base path used for / and ~/ resolutionIf not specified the document's path (for files)or the current directory (for strings) is used |
![]() |
Layout | The layout page if any to use for this script. Path is relativethe detail page.Provided so compilation works not used in code. |
![]() |
Model | The model that will be passed to the execution code |
![]() |
Script | The actual script code that's passed and updatedthrough out the request processing process |
![]() |
ScriptFile | The top level script that is being processing |
![]() |
Sections | Dictionary of sections that are captured and passed through |
![]() |
Title | The title of the page |
Assembly: Westwind.Scripting.dll