ZPT-Sharp  v1.0.0
Zope Page Templates for .NET
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
CSF.Zpt.Rendering.OriginalAttributeValuesCollection Class Reference

Represents a collection of IZptAttribute, exposing the original attributes present upon an element. More...

Inheritance diagram for CSF.Zpt.Rendering.OriginalAttributeValuesCollection:
Collaboration diagram for CSF.Zpt.Rendering.OriginalAttributeValuesCollection:

Public Member Functions

bool HandleTalesPath (string pathFragment, out object result, IRenderingContext currentContext)
 Gets a specific attribute by name (a TALES path fragment). More...
 
 OriginalAttributeValuesCollection ()
 Initializes a new instance of the CSF.Zpt.Rendering.OriginalAttributeValuesCollection class. More...
 
 OriginalAttributeValuesCollection (IEnumerable< IZptAttribute > attributes)
 Initializes a new instance of the CSF.Zpt.Rendering.OriginalAttributeValuesCollection class. More...
 

Detailed Description

Represents a collection of IZptAttribute, exposing the original attributes present upon an element.

Constructor & Destructor Documentation

CSF.Zpt.Rendering.OriginalAttributeValuesCollection.OriginalAttributeValuesCollection ( )
inline

Initializes a new instance of the CSF.Zpt.Rendering.OriginalAttributeValuesCollection class.

CSF.Zpt.Rendering.OriginalAttributeValuesCollection.OriginalAttributeValuesCollection ( IEnumerable< IZptAttribute attributes)
inline

Initializes a new instance of the CSF.Zpt.Rendering.OriginalAttributeValuesCollection class.

Parameters
attributesA collection of sttributes.

Member Function Documentation

bool CSF.Zpt.Rendering.OriginalAttributeValuesCollection.HandleTalesPath ( string  pathFragment,
out object  result,
IRenderingContext  currentContext 
)
inline

Gets a specific attribute 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.

Implements CSF.Zpt.Tales.ITalesPathHandler.


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