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

Performs source annotation tasks upon ZPT elements. More...

Inheritance diagram for CSF.Zpt.SourceAnnotation.SourceAnnotator:
Collaboration diagram for CSF.Zpt.SourceAnnotation.SourceAnnotator:

Public Member Functions

void WriteAnnotationIfAppropriate (IRenderingContext targetContext)
 Processes source annotation and adds comments before/after the targetContext if appropriate. More...
 
void AnnotateRootElement (IRenderingContext context)
 Adds source annotation for the root element in a document. More...
 
void AnnotateDefineMacro (IRenderingContext context)
 Adds source annotation for an element which contains a macro-definition attribute. More...
 
void AnnotateDefineSlot (IRenderingContext context)
 Adds source annotation for an element which contains a slot-definition attribute. More...
 
void AnnotateImportedElement (IRenderingContext context)
 Adds source annotation for an element which contains a slot-definition attribute. More...
 
 SourceAnnotator (ICommentFormatter formatter=null)
 Initializes a new instance of the CSF.Zpt.SourceAnnotation.SourceAnnotator class. More...
 

Detailed Description

Performs source annotation tasks upon ZPT elements.

Constructor & Destructor Documentation

CSF.Zpt.SourceAnnotation.SourceAnnotator.SourceAnnotator ( ICommentFormatter  formatter = null)
inline

Initializes a new instance of the CSF.Zpt.SourceAnnotation.SourceAnnotator class.

Parameters
formatterThe source annotation comment formatter.

Member Function Documentation

void CSF.Zpt.SourceAnnotation.SourceAnnotator.AnnotateDefineMacro ( IRenderingContext  context)
inline

Adds source annotation for an element which contains a macro-definition attribute.

Parameters
contextThe rendering context to be annotated.
void CSF.Zpt.SourceAnnotation.SourceAnnotator.AnnotateDefineSlot ( IRenderingContext  context)
inline

Adds source annotation for an element which contains a slot-definition attribute.

Parameters
contextThe rendering context to be annotated.
void CSF.Zpt.SourceAnnotation.SourceAnnotator.AnnotateImportedElement ( IRenderingContext  context)
inline

Adds source annotation for an element which contains a slot-definition attribute.

Parameters
contextThe rendering context to be annotated.
void CSF.Zpt.SourceAnnotation.SourceAnnotator.AnnotateRootElement ( IRenderingContext  context)
inline

Adds source annotation for the root element in a document.

Parameters
contextThe rendering context to be annotated.
void CSF.Zpt.SourceAnnotation.SourceAnnotator.WriteAnnotationIfAppropriate ( IRenderingContext  targetContext)
inline

Processes source annotation and adds comments before/after the targetContext if appropriate.

Parameters
targetContextTarget context.

Implements CSF.Zpt.SourceAnnotation.ISourceAnnotator.


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