ZPT-Sharp
v1.0.0
Zope Page Templates for .NET
|
Encapsulates the TALEs built-in variable names. More...
Public Member Functions | |
virtual bool | HandleTalesPath (string pathFragment, out object result, IRenderingContext currentContext) |
Gets a built-in object by name (a TALES path fragment). More... | |
BuiltinContextsContainer (NamedObjectWrapper options, RepetitionMetadataCollectionWrapper repeat, Lazy< OriginalAttributeValuesCollection > attrs, ITemplateFileFactory templateFileFactory, object model=null) | |
Initializes a new instance of the CSF.Zpt.Tales.BuiltinContextsContainer class. More... | |
Properties | |
object | Nothing [get] |
Gets the 'nothing' object instance (a null reference). More... | |
object | Default [get] |
Gets the 'default' object instance (equal to ZptConstants.CancellationToken). More... | |
object | Model [get] |
Gets the model being rendered. More... | |
NamedObjectWrapper | Options [get] |
Gets the template keyword options. More... | |
RepetitionMetadataCollectionWrapper | Repeat [get] |
Gets the repeat variables. More... | |
OriginalAttributeValuesCollection | Attrs [get] |
Gets the original attributes from the current ZptElement for which this instance was created. More... | |
Encapsulates the TALEs built-in variable names.
|
inline |
Initializes a new instance of the CSF.Zpt.Tales.BuiltinContextsContainer class.
options | Options. |
repeat | Repeat. |
attrs | Attrs. |
templateFileFactory | A template-file factory. |
model | The model being rendered. |
|
inlinevirtual |
Gets a built-in object by name (a TALES path fragment).
true
if the path traversal was a success; false
otherwise.pathFragment | The path fragment. |
result | Exposes the result if the traversal was a success |
currentContext | Gets the current rendering context. |
Implements CSF.Zpt.Tales.ITalesPathHandler.
Reimplemented in CSF.Zpt.MVC.Tales.MvcContextsContainer.
|
get |
Gets the original attributes from the current ZptElement for which this instance was created.
The attributes.
|
get |
Gets the 'default' object instance (equal to ZptConstants.CancellationToken).
The default object.
|
get |
Gets the model being rendered.
The model.
|
get |
Gets the 'nothing' object instance (a null
reference).
The nothing object.
|
get |
Gets the template keyword options.
The options.
|
get |
Gets the repeat variables.
The repeat.