StatementExtensions.AsList Method
AsList(IStatement)
Wraps a given IStatement into a singleton IStatementList.
Declaration
public static IStatementList AsList(this IStatement statement)
Parameters
Type | Name | Description |
---|---|---|
IStatement | statement |
Returns
Type | Description |
---|---|
IStatementList |
AsList(IEnumerable<IStatement>)
Wraps a list of IStatement into an IStatementList.
Declaration
public static IStatementList AsList(this IEnumerable<IStatement> statements)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IStatement> | statements |
Returns
Type | Description |
---|---|
IStatementList |