| 
 | .NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||
Foreach directive used for moving through arrays, or objects that provide an Iterator.
| Fields inherited from class NVelocity.Runtime.Directive.Directive | 
|---|
| rsvc | 
| Constructor Summary | |
|---|---|
| Foreach() Initializes a new instance of the Foreach class. | |
| Property Summary | |
|---|---|
| string | Name | 
| int | Type | 
| Properties inherited from class NVelocity.Runtime.Directive.Directive | 
|---|
| Column, Line | 
| Method Summary | |
|---|---|
| void | init(NVelocity.Runtime.RuntimeServices rs, NVelocity.Context.InternalContextAdapter context, NVelocity.Runtime.Parser.Node.INode node) simple init - init the tree and get the elementKey from the AST | 
| bool | render(NVelocity.Context.InternalContextAdapter context, System.IO.TextWriter writer, NVelocity.Runtime.Parser.Node.INode node) renders the #foreach() block | 
| Methods inherited from class NVelocity.Runtime.Directive.Directive | 
|---|
| setLocation | 
| Methods inherited from class System.Object | 
|---|
| Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString | 
| Constructor Detail | 
|---|
public Foreach()
Initializes a new instance of the Foreach class.
| Property Detail | 
|---|
public string Name
public int Type
| Method Detail | 
|---|
public void init(NVelocity.Runtime.RuntimeServices rs,
                 NVelocity.Context.InternalContextAdapter context,
                 NVelocity.Runtime.Parser.Node.INode node)
    simple init - init the tree and get the elementKey from the AST
public bool render(NVelocity.Context.InternalContextAdapter context,
                   System.IO.TextWriter writer,
                   NVelocity.Runtime.Parser.Node.INode node)
    renders the #foreach() block
| 
 | .NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||