ZPT-Sharp
v1.0.0
Zope Page Templates for .NET
|
Serivce which is responsible for making substitutions of content in METAL macros. More...
Public Member Functions | |
IRenderingContext | MakeSubstitutions (IRenderingContext sourceContext, IRenderingContext macroContext, IList< IRenderingContext > macroStack) |
Makes the substitutions from the macro into the given source. More... | |
Serivce which is responsible for making substitutions of content in METAL macros.
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.
sourceContext | The source context, from the original document (to be replaced). |
macroContext | The macro context from which to draw replacements. |
macroStack | A collection of macros which have been passed-through. |
Implemented in CSF.Zpt.Metal.MacroSubstituter.