CodeBlock Class
Represents a block of executable code in a template.
public class CodeBlock : TemplateBlock- Inheritance
TemplateBlockCodeBlock
Constructors
| Name | Description |
|---|---|
| CodeBlock(Template, string, int, bool) | Represents a block of executable code in a template. |
CodeBlock(Template, string, int, bool)
CodeBlock.csProperties
| Name | Description |
|---|---|
| IsExpression | Gets a value indicating whether this block is an evaluation expression. |
IsExpression
CodeBlock.csMethods
| Name | Description |
|---|---|
| BuildCode() | Builds the C# code for this code block. |