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

Implementation of IMacroSubstituter suitable for use in macro extension. More...

Inheritance diagram for CSF.Zpt.Metal.MacroExtensionSubstitutor:
Collaboration diagram for CSF.Zpt.Metal.MacroExtensionSubstitutor:

Public Member Functions

override IZptElement FillSlot (SlotToFill slotAndFiller)
 Fills a single slot with its filler. More...
 
- Public Member Functions inherited from CSF.Zpt.Metal.MacroSubstituter
virtual IRenderingContext MakeSubstitutions (IRenderingContext sourceContext, IRenderingContext macroContext, IList< IRenderingContext > macroStack)
 Makes the substitutions from the macro into the given source. More...
 
virtual IRenderingContext ReplaceMacroElement (IRenderingContext sourceContext, IRenderingContext macroContext)
 Replaces the defined macro on the source context with the macro context and returns the result. More...
 
virtual void FillSlots (IEnumerable< SlotToFill > slotsToFill)
 Fills all of the given slots with their corresponding fillers. More...
 
virtual IEnumerable< SlotToFillGetSlotsToFill (IRenderingContext sourceContext, IRenderingContext macroContext, IList< IRenderingContext > macroStack)
 Gets a collection of the slots which should be filled, and their corresponding fillers. More...
 
virtual IEnumerable< SlotToFillGetSlotsToFill (IRenderingContext sourceContext, IDictionary< string, IZptElement > availableFillers, IRenderingContext macroContext, IDictionary< string, IZptElement > availableSlotDefinitions)
 Gets a collection of SlotToFill from the given source information. More...
 
virtual IDictionary< string,
IZptElement
GetSlotFillers (IRenderingContext context)
 Gets a collection of all of the elements which have the METAL fill-slot attribute defined. More...
 
virtual IDictionary< string,
IZptElement
GetDefinedSlots (IRenderingContext context)
 Gets a collection of all of the elements which have the METAL define-slot attribute defined. More...
 
virtual IDictionary< string,
IZptElement
GetDefinedSlots (IList< IRenderingContext > macroStack, IEnumerable< string > slotsFoundSoFar)
 Gets a collection of all of the elements which have the METAL define-slot attribute defined. More...
 
virtual IDictionary< string,
IZptElement
GetChildElementsByMetalAttributeValue (IRenderingContext context, string metalAttribute)
 Gets a collection of elements indexed by the value of a given METAL attribute. More...
 

Detailed Description

Implementation of IMacroSubstituter suitable for use in macro extension.

Member Function Documentation

override IZptElement CSF.Zpt.Metal.MacroExtensionSubstitutor.FillSlot ( SlotToFill  slotAndFiller)
inlinevirtual

Fills a single slot with its filler.

Returns
The element created by the operation.
Parameters
slotAndFillerThe slot and its filler.

Reimplemented from CSF.Zpt.Metal.MacroSubstituter.


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