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

Default implementation of ICommentFormatter. More...

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

Public Member Functions

string GetRootElementComment (string source, string lineNumber)
 Gets the formatted comment for the root element of a ZPT document. More...
 
string GetDefineMacroComment (string source, string lineNumber)
 Gets the formatted comment for a define-macro attribute. More...
 
string GetDefineSlotComment (string source, string lineNumber)
 Gets the formatted comment for a define-slot attribute. More...
 
string GetImportedElementComment (string source, string lineNumber)
 Gets the formatted comment for an imported element. More...
 
string GetAfterImportedElementComment (string source, string lineNumber)
 Gets the formatted comment for displaying after an imported element. More...
 

Detailed Description

Default implementation of ICommentFormatter.

Member Function Documentation

string CSF.Zpt.SourceAnnotation.CommentFormatter.GetAfterImportedElementComment ( string  source,
string  lineNumber 
)
inline

Gets the formatted comment for displaying after an imported element.

Returns
The formatted comment.
Parameters
sourceThe source information for the file.
lineNumberThe line number within the file.

Implements CSF.Zpt.SourceAnnotation.ICommentFormatter.

string CSF.Zpt.SourceAnnotation.CommentFormatter.GetDefineMacroComment ( string  source,
string  lineNumber 
)
inline

Gets the formatted comment for a define-macro attribute.

Returns
The formatted comment.
Parameters
sourceThe source information for the file.
lineNumberThe line number within the file.

Implements CSF.Zpt.SourceAnnotation.ICommentFormatter.

string CSF.Zpt.SourceAnnotation.CommentFormatter.GetDefineSlotComment ( string  source,
string  lineNumber 
)
inline

Gets the formatted comment for a define-slot attribute.

Returns
The formatted comment.
Parameters
sourceThe source information for the file.
lineNumberThe line number within the file.

Implements CSF.Zpt.SourceAnnotation.ICommentFormatter.

string CSF.Zpt.SourceAnnotation.CommentFormatter.GetImportedElementComment ( string  source,
string  lineNumber 
)
inline

Gets the formatted comment for an imported element.

Returns
The formatted comment.
Parameters
sourceThe source information for the file.
lineNumberThe line number within the file.

Implements CSF.Zpt.SourceAnnotation.ICommentFormatter.

string CSF.Zpt.SourceAnnotation.CommentFormatter.GetRootElementComment ( string  source,
string  lineNumber 
)
inline

Gets the formatted comment for the root element of a ZPT document.

Returns
The formatted comment.
Parameters
sourceThe source information for the file.
lineNumberThe line number within the file.

Implements CSF.Zpt.SourceAnnotation.ICommentFormatter.


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