StatementCollection Class
Represents a collection of statements.
public class StatementCollection : CodeObjectCollection<Statement>- Inheritance
CodeObjectCollection<Statement>StatementCollection
Constructors
| Name | Description |
|---|---|
| StatementCollection() | |
| StatementCollection(CodeObject) |
StatementCollection overloads
StatementCollection()
StatementCollection.cspublic StatementCollection()No documentation is available.
StatementCollection(CodeObject)
StatementCollection.cspublic StatementCollection(CodeObject parent)Parameters
parentCodeObject
No documentation is available.
Methods
| Name | Description |
|---|---|
| Add(Expression) | |
| Add<TCodeObject>(TCodeObject) |
Add overloads
Add(Expression)
StatementCollection.cspublic Expression Add(Expression expression)No documentation is available.
Add<TCodeObject>(TCodeObject)
StatementCollection.cspublic new TCodeObject Add<TCodeObject>(TCodeObject item) where TCodeObject : StatementType parameters
TCodeObject
Parameters
itemTCodeObject
Returns
TCodeObject
No documentation is available.
Operators
| Name | Description |
|---|---|
| implicit operator StatementCollection(Expression) | |
| implicit operator StatementCollection(Statement) |
op_Implicit overloads
implicit operator StatementCollection(Expression)
StatementCollection.cspublic static implicit operator StatementCollection(Expression codeExpression)No documentation is available.
implicit operator StatementCollection(Statement)
StatementCollection.cspublic static implicit operator StatementCollection(Statement codeStatement)No documentation is available.