NVelocity.App.Tools
Class VelocityFormatter.VelocityAutoAlternator

As VelocityAlternator, but calls

alternate()
automatically on rendering in a template.

Constructor Summary
VelocityFormatter.VelocityAutoAlternator(NVelocity.App.Tools.VelocityFormatter enclosingInstance, string[] alternates)
         Constructor takes an array of Strings. *

Property Summary
NVelocity.App.Tools.VelocityFormatter Enclosing_Instance

Method Summary
string ToString()
         Returns the current alternate, and automatically alternates to the next alternate in its sequence (trigged upon rendering). *

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone


Constructor Detail

VelocityFormatter.VelocityAutoAlternator

public VelocityFormatter.VelocityAutoAlternator(NVelocity.App.Tools.VelocityFormatter enclosingInstance,
                                                string[] alternates)

Constructor takes an array of Strings. *

Parameters:
alternates - A String[].
Property Detail

Enclosing_Instance

public NVelocity.App.Tools.VelocityFormatter Enclosing_Instance

Method Detail

ToString

public string ToString()

Returns the current alternate, and automatically alternates to the next alternate in its sequence (trigged upon rendering). *

Returns:
The current alternate in the sequence.