Class Loop
- Namespace
- Dynamicweb.Rendering
- Assembly
- Dynamicweb.Core.dll
Represents a loop instance of a template instance.
public class Loop
- Inheritance
-
Loop
- Inherited Members
Examples
See usage example in Template
Remarks
Used internally. Only access this through a Template instance.
Constructors
Loop()
Initializes a new instance of the Loop class.
public Loop()
Properties
Data
Gets or sets the data collection. The data collection holds the different html parts of the loop if more than one loop is present in the same html file.
public LoopDataCollection Data { get; set; }
Property Value
- LoopDataCollection
The data.
Name
Gets or sets the name of the loop.
public required string Name { get; set; }
Property Value
- string
The name.
Template
Gets or sets the template.
public required Template Template { get; set; }
Property Value
- Template
The template.
Methods
GetRawTags()
public IDictionary<string, IList<IDictionary<string, object>>> GetRawTags()