'Declaration Public Shared Function GetEntitiesByType( _ ByVal entityList As IList(Of Entity), _ ByVal blocks As Dictionary(Of String,Block), _ Optional ByVal includedTypes As List(Of Type) _ ) As Dictionary(Of Type,IList(Of Entity))
public static Dictionary<Type,IList<Entity>> GetEntitiesByType( IList<Entity> entityList, Dictionary<string,Block> blocks, List<Type> includedTypes )
Parameters
- entityList
- The collection of entities.
- blocks
- The blocks to process.
- includedTypes
- If not null then it will consider only the entities which match these types.
Return Value
The dictionary with the collection of entities for each entity's type.