IBlock Interface |
Namespace: Nova.CodeDOM
public interface IBlock
The IBlock type exposes the following members.
Name | Description | |
---|---|---|
![]() | Body |
The Block body.
|
![]() | HasHeader |
True if the Block has a header.
|
![]() | IsMethodBodyLevel |
True if the Block is at a method body level.
|
![]() | IsSingleLine |
True if the Block is formatted on a single line.
|
![]() | IsTopLevel |
True if the Block is at the top-level.
|
Name | Description | |
---|---|---|
![]() | Add(CodeObject) |
Add a CodeObject to the Block.
|
![]() | Add(CodeObject) |
Add multiple CodeObjects to the Block.
|
![]() | Insert |
Insert a CodeObject at the specified index.
|
![]() | ReformatBlock |
Reformat the Block body.
|
![]() | Remove |
Remove the specified CodeObject.
|
![]() | RemoveAll |
Remove all objects from the Block.
|