ZPT-Sharp  v1.0.0
Zope Page Templates for .NET
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
CSF.Zpt.MVC.Tales.MvcContextsContainer Class Reference
Inheritance diagram for CSF.Zpt.MVC.Tales.MvcContextsContainer:
Collaboration diagram for CSF.Zpt.MVC.Tales.MvcContextsContainer:

Public Member Functions

override bool HandleTalesPath (string pathFragment, out object result, IRenderingContext currentContext)
 Gets a built-in object by name (a TALES path fragment). More...
 
 MvcContextsContainer (NamedObjectWrapper options, RepetitionMetadataCollectionWrapper repeat, Lazy< OriginalAttributeValuesCollection > attrs, ViewContext viewContext, ITemplateFileFactory templateFileFactory=null)
 
- Public Member Functions inherited from CSF.Zpt.Tales.BuiltinContextsContainer
 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

ViewContext ViewContext [get]
 
- Properties inherited from CSF.Zpt.Tales.BuiltinContextsContainer
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...
 

Member Function Documentation

override bool CSF.Zpt.MVC.Tales.MvcContextsContainer.HandleTalesPath ( string  pathFragment,
out object  result,
IRenderingContext  currentContext 
)
inlinevirtual

Gets a built-in object by name (a TALES path fragment).

Returns
true if the path traversal was a success; false otherwise.
Parameters
pathFragmentThe path fragment.
resultExposes the result if the traversal was a success
currentContextGets the current rendering context.

Reimplemented from CSF.Zpt.Tales.BuiltinContextsContainer.


The documentation for this class was generated from the following file: