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

Extension methods for RenderingContext instances. More...

Static Public Member Functions

static IZptAttribute GetMetalAttribute (this IRenderingContext context, string attributeName)
 Gets a METAL attribute which matches the given criteria, or a null reference is no matching attribute is found. More...
 
static IZptAttribute GetTalAttribute (this IRenderingContext context, string attributeName)
 Gets a TAL attribute which matches the given criteria, or a null reference is no matching attribute is found. More...
 

Detailed Description

Extension methods for RenderingContext instances.

Member Function Documentation

static IZptAttribute CSF.Zpt.Rendering.RenderingContextExtensions.GetMetalAttribute ( this IRenderingContext  context,
string  attributeName 
)
inlinestatic

Gets a METAL attribute which matches the given criteria, or a null reference is no matching attribute is found.

Returns
The attribute, or a null reference.
Parameters
contextThe rendering context from which to get attributes.
attributeNameThe attribute name.
static IZptAttribute CSF.Zpt.Rendering.RenderingContextExtensions.GetTalAttribute ( this IRenderingContext  context,
string  attributeName 
)
inlinestatic

Gets a TAL attribute which matches the given criteria, or a null reference is no matching attribute is found.

Returns
The attribute, or a null reference.
Parameters
contextThe rendering context from which to get attributes.
attributeNameThe attribute name.

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