List(params IStatement[])
Creates an IStatementList from a list of IStatement.
Declaration
public static IStatementList List(params IStatement[] statements)Parameters
| Type | Name | Description |
|---|---|---|
| IStatement[] | statements |
Returns
| Type | Description |
|---|---|
| IStatementList |
List(IEnumerable<IStatement>)
Creates an IStatementList from a list of IStatement.
Declaration
public static IStatementList List(IEnumerable<IStatement> statements)Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IStatement> | statements |
Returns
| Type | Description |
|---|---|
| IStatementList |