C# Class NVelocity.App.Tools.VelocityFormatter.VelocityAutoAlternator

As VelocityAlternator, but calls alternate() automatically on rendering in a template.
Inheritance: VelocityAlternator
Mostra file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
ToString ( ) : String

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

VelocityAutoAlternator ( ) : System

Constructor takes an array of Strings.

Method Details

ToString() public method

Returns the current alternate, and automatically alternates to the next alternate in its sequence (trigged upon rendering).
public ToString ( ) : String
return String

VelocityAutoAlternator() public method

Constructor takes an array of Strings.
public VelocityAutoAlternator ( ) : System
return System