Open sandboxFocus

Method Block

Block(params IStatement[])

Creates a block composed of zero, one or many statements.

Declaration
public static IStatement Block(params IStatement[] statements)
Parameters
Type Name Description
IStatement[] statements
Returns
Type Description
IStatement

Block(IEnumerable<IStatement>)

Creates a block composed of zero, one or many statements.

Declaration
public static IStatement Block(IEnumerable<IStatement> statements)
Parameters
Type Name Description
IEnumerable<IStatement> statements
Returns
Type Description
IStatement

Block(IStatementList)

Creates a block from an IStatementList.

Declaration
public static IStatement Block(IStatementList list)
Parameters
Type Name Description
IStatementList list
Returns
Type Description
IStatement