/// <summary> /// Collects all entity component types from the project assemblies. /// </summary> /// <returns>All types which are inherited from IEntityComponent in the project assemblies.</returns> private IEnumerable <Type> CollectEntityComponentTypes() { return(ComponentUtils.FindComponentTypes(this.ProjectAssemblies)); }