DynamicDOM v0.43.2. Implementation based on XRules v0.43

CalculateRule Class

Implements the <calculate> rule.

For a list of all members of this type, see CalculateRule Members.


[Visual Basic]
Public Class CalculateRule
    Inherits RuleBase
public class CalculateRule : RuleBase
public __gc class CalculateRule : public RuleBase
public class CalculateRule extends RuleBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


<xr:calculate target = "ItemTotal" createNode="first|last|never"> 
    <xr:value when="UnitPrice != '' and Quantity != ''">UnitPrice * Quantity</xr:value>
    <xr:errorMessage>Wrong ItemTotal</xr:errorMessage>    <!-- TODO: errorMessage for this rule is not implemented yet. -->


Namespace: XRules

Assembly: XRules.DynamicDom (in XRules.DynamicDom.dll)

See Also

CalculateRule Members | XRules Namespace