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

Represents a collection of METAL macros. More...

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

Public Member Functions

IZptElement GetElement (string name)
 Gets a single macro element by name. More...
 
bool HasMacro (string name)
 Gets a value indicating whether the current container contains a macro of the given name. More...
 
IEnumerable< IMetalMacroGetAllMacros ()
 Gets a collection of all of the macros in the container. More...
 
- Public Member Functions inherited from CSF.Zpt.Tales.ITalesPathHandler
bool HandleTalesPath (string pathFragment, out object result, IRenderingContext currentContext)
 Gets an System.Object based upon a TALES path fragment. More...
 

Detailed Description

Represents a collection of METAL macros.

Member Function Documentation

IEnumerable<IMetalMacro> CSF.Zpt.Metal.IMetalMacroContainer.GetAllMacros ( )

Gets a collection of all of the macros in the container.

Returns
The macros.

Implemented in CSF.Zpt.Metal.MetalMacroContainer.

IZptElement CSF.Zpt.Metal.IMetalMacroContainer.GetElement ( string  name)

Gets a single macro element by name.

Returns
The macro element, or a null reference if no such macro exists.
Parameters
nameThe macro name.

Implemented in CSF.Zpt.Metal.MetalMacroContainer.

bool CSF.Zpt.Metal.IMetalMacroContainer.HasMacro ( string  name)

Gets a value indicating whether the current container contains a macro of the given name.

Returns
true, if a macro exists of the given name, false otherwise.
Parameters
nameThe macro name.

Implemented in CSF.Zpt.Metal.MetalMacroContainer.


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