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

Serivce which is responsible for making substitutions of content in METAL macros. More...

Inheritance diagram for CSF.Zpt.Metal.IMacroSubstituter:

Public Member Functions

IRenderingContext MakeSubstitutions (IRenderingContext sourceContext, IRenderingContext macroContext, IList< IRenderingContext > macroStack)
 Makes the substitutions from the macro into the given source. More...
 

Detailed Description

Serivce which is responsible for making substitutions of content in METAL macros.

Member Function Documentation

IRenderingContext CSF.Zpt.Metal.IMacroSubstituter.MakeSubstitutions ( IRenderingContext  sourceContext,
IRenderingContext  macroContext,
IList< IRenderingContext macroStack 
)

Makes the substitutions from the macro into the given source.

These substitutions include replacing the source context with the content of the macro, but also filling slots which have been defined by the macro and for which filler content is found within the source context.

Returns
A rendering context representing the result of the substitutions.
Parameters
sourceContextThe source context, from the original document (to be replaced).
macroContextThe macro context from which to draw replacements.
macroStackA collection of macros which have been passed-through.

Implemented in CSF.Zpt.Metal.MacroSubstituter.


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