ZPT-Sharp
v1.0.0
Zope Page Templates for .NET
|
Implementation of IMacroSubstituter suitable for use in macro extension. More...
Public Member Functions | |
override IZptElement | FillSlot (SlotToFill slotAndFiller) |
Fills a single slot with its filler. More... | |
![]() | |
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< SlotToFill > | GetSlotsToFill (IRenderingContext sourceContext, IRenderingContext macroContext, IList< IRenderingContext > macroStack) |
Gets a collection of the slots which should be filled, and their corresponding fillers. More... | |
virtual IEnumerable< SlotToFill > | GetSlotsToFill (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... | |
Implementation of IMacroSubstituter suitable for use in macro extension.
|
inlinevirtual |
Fills a single slot with its filler.
slotAndFiller | The slot and its filler. |
Reimplemented from CSF.Zpt.Metal.MacroSubstituter.