IMyGridTerminalSystemGetBlocksOfTypeT Method (ListIMyTerminalBlock, Func) |
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
Namespace: Sandbox.ModAPIAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax void GetBlocksOfType<T>(
List<IMyTerminalBlock> blocks,
Func collect = null
)
Sub GetBlocksOfType(Of T) (
blocks As List(Of IMyTerminalBlock),
Optional collect As Func = Nothing
)
generic<typename T>
void GetBlocksOfType(
List<IMyTerminalBlock^>^ blocks,
Func^ collect = nullptr
)
abstract GetBlocksOfType :
blocks : List<IMyTerminalBlock> *
?collect : Func
(* Defaults:
let _collect = defaultArg collect null
*)
-> unit
Parameters
- blocks
- Type: System.Collections.GenericListIMyTerminalBlock
- collect (Optional)
- Type: SystemFuncT, TResult
Type Parameters
- T
See Also