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

Wrapper type for a collection of named IRepetitionInfo instances. More...

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

Public Member Functions

bool HandleTalesPath (string pathFragment, out object result, IRenderingContext currentContext)
 Gets a IRepetitionInfo based upon a TALES path fragment. More...
 
 RepetitionMetadataCollectionWrapper (IEnumerable< IRepetitionInfo > repetitions)
 Initializes a new instance of the CSF.Zpt.Rendering.RepetitionMetadataCollectionWrapper class. More...
 

Properties

ITalesPathHandler this[string key] [get]
 Gets the CSF.Zpt.Tales.ITalesPathHandler (representing a repetition) with the specified name. More...
 

Detailed Description

Wrapper type for a collection of named IRepetitionInfo instances.

Constructor & Destructor Documentation

CSF.Zpt.Rendering.RepetitionMetadataCollectionWrapper.RepetitionMetadataCollectionWrapper ( IEnumerable< IRepetitionInfo repetitions)
inline

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

Parameters
repetitionsRepetitions.

Member Function Documentation

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

Gets a IRepetitionInfo based upon 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.

Property Documentation

ITalesPathHandler CSF.Zpt.Rendering.RepetitionMetadataCollectionWrapper.this[string key]
get

Gets the CSF.Zpt.Tales.ITalesPathHandler (representing a repetition) with the specified name.

Parameters
keyThe repetition name.

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