Adds notes

This commit is contained in:
Shannon
2020-03-11 13:10:34 +11:00
parent 5ee2286436
commit 66cd25d8f5

View File

@@ -29,6 +29,12 @@ namespace Umbraco.Core.Composing
_entryPointAssembly = entryPointAssembly ?? throw new ArgumentNullException(nameof(entryPointAssembly));
}
// TODO: It would be worth investigating a netcore3 version of this which would use
// var allAssemblies = System.Runtime.Loader.AssemblyLoadContext.All.SelectMany(x => x.Assemblies);
// that will still only resolve Assemblies that are already loaded but it would also make it possible to
// query dynamically generated assemblies once they are added. It would also provide the ability to probe
// assembly locations that are not in the same place as the entry point assemblies.
public IEnumerable<Assembly> Assemblies
{
get