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

Wrapper type for a collection of MetalMacro. More...

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

Public Member Functions

IZptElement GetElement (string name)
 Gets a single macro element by name. More...
 
bool HasMacro (string name)
 Hases the macro. More...
 
IEnumerable< IMetalMacroGetAllMacros ()
 Gets a collection of all of the macros in the container, by their names. More...
 
 MetalMacroContainer (IEnumerable< IMetalMacro > macros)
 Initializes a new instance of the CSF.Zpt.Metal.MetalMacroContainer class. More...
 

Detailed Description

Wrapper type for a collection of MetalMacro.

Constructor & Destructor Documentation

CSF.Zpt.Metal.MetalMacroContainer.MetalMacroContainer ( IEnumerable< IMetalMacro macros)
inline

Initializes a new instance of the CSF.Zpt.Metal.MetalMacroContainer class.

Parameters
macrosMacros.

Member Function Documentation

IEnumerable<IMetalMacro> CSF.Zpt.Metal.MetalMacroContainer.GetAllMacros ( )
inline

Gets a collection of all of the macros in the container, by their names.

Returns
The macros.

Implements CSF.Zpt.Metal.IMetalMacroContainer.

IZptElement CSF.Zpt.Metal.MetalMacroContainer.GetElement ( string  name)
inline

Gets a single macro element by name.

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

Implements CSF.Zpt.Metal.IMetalMacroContainer.

bool CSF.Zpt.Metal.MetalMacroContainer.HasMacro ( string  name)
inline

Hases the macro.

Returns
true, if macro was hased, false otherwise.
Parameters
nameName.

Implements CSF.Zpt.Metal.IMetalMacroContainer.


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