ZPT-Sharp  v1.0.0
Zope Page Templates for .NET
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
CSF.Zpt.Metal.IMacroFinder Interface Reference

A type which finds METAL macros where they are referenced by a rendering context. More...

Inheritance diagram for CSF.Zpt.Metal.IMacroFinder:

Public Member Functions

IZptElement GetUsedMacro (IRenderingContext context)
 Examines the given IRenderingContext and - if it uses a METAL macro - gets that macro from the model contained within that context. More...
 
IZptElement GetExtendedMacro (IRenderingContext context)
 Examines the given IRenderingContext and - if it extends a METAL macro - gets that macro from the model contained within that context. More...
 

Detailed Description

A type which finds METAL macros where they are referenced by a rendering context.

Member Function Documentation

IZptElement CSF.Zpt.Metal.IMacroFinder.GetExtendedMacro ( IRenderingContext  context)

Examines the given IRenderingContext and - if it extends a METAL macro - gets that macro from the model contained within that context.

Returns
Either an IZptElement instance representing the macro extended, or a null reference.
Parameters
contextThe rendering context.

Implemented in CSF.Zpt.Metal.MacroFinder.

IZptElement CSF.Zpt.Metal.IMacroFinder.GetUsedMacro ( IRenderingContext  context)

Examines the given IRenderingContext and - if it uses a METAL macro - gets that macro from the model contained within that context.

Returns
Either an IZptElement instance representing the macro used, or a null reference.
Parameters
contextThe rendering context.

Implemented in CSF.Zpt.Metal.MacroFinder.


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