Like Orchard.Core there are multiple modules merged into one module. This is possible for Orchard.Core for the Extension folders since the OrchardStarter register in CreateHostContainer a ModuleFolder as IExtensionFolder with path ~/Core and ~/Modules.
Also for the ThemeFolder ~/Themes.
I would like to add a path to the ModuleFolders like ~/Modules/MyCoreModule/
Also i thought that each module could include a theme but since the theme.txt isn't searched for, not included in _path. i think i need to add paths like ~/Modules/MyModuleWithMixedFunctionalityIncludingThemes/
A quick and dirty way is just to alter the OrchardStarter class and add a path to that array, but i don't want to alter Orchard code specific for our situation.
The ExtensionManager works with extensionfolders and extensionLoaders.
Is there a recommended way to add a ExtensionFolder / ExtensionLoader?