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

Represents the result of evaluating a TALES expression. More...

Public Member Functions

virtual bool GetValueAsBoolean ()
 Invokes M:GetValue() and returns the value as a System.Boolean equivalent. More...
 
virtual TResult GetValue< TResult > ()
 Gets the result value, as a typed object instance. More...
 
 ExpressionResult (object value)
 Initializes a new instance of the CSF.Zpt.Rendering.ExpressionResult class. More...
 

Properties

virtual object Value [get]
 Gets the result value of this expression evaluation. More...
 
virtual bool CancelsAction [get]
 Gets a value indicating whether this CSF.Zpt.Rendering.ExpressionResult cancels the action. More...
 

Detailed Description

Represents the result of evaluating a TALES expression.

Constructor & Destructor Documentation

CSF.Zpt.Rendering.ExpressionResult.ExpressionResult ( object  value)
inline

Initializes a new instance of the CSF.Zpt.Rendering.ExpressionResult class.

Parameters
valueThe result value of the expression evaluation.

Member Function Documentation

virtual TResult CSF.Zpt.Rendering.ExpressionResult.GetValue< TResult > ( )
inlinevirtual

Gets the result value, as a typed object instance.

Returns
The value.
Template Parameters
TResultThe expected value type.
virtual bool CSF.Zpt.Rendering.ExpressionResult.GetValueAsBoolean ( )
inlinevirtual

Invokes M:GetValue() and returns the value as a System.Boolean equivalent.

Returns
true, if the value indicates truth, false otherwise.

Property Documentation

virtual bool CSF.Zpt.Rendering.ExpressionResult.CancelsAction
get

Gets a value indicating whether this CSF.Zpt.Rendering.ExpressionResult cancels the action.

true if the result cancels the action; otherwise, false.

virtual object CSF.Zpt.Rendering.ExpressionResult.Value
get

Gets the result value of this expression evaluation.

The value.


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