Class DefaultUmbracoAssemblyProvider
Returns a list of scannable assemblies based on an entry point assembly and it's references
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Composing
Assembly: Umbraco.Core.dll
Syntax
public class DefaultUmbracoAssemblyProvider : IAssemblyProvider
Remarks
This will recursively search through the entry point's assemblies and Umbraco's core assemblies and their references to create a list of scannable assemblies based on whether they themselves or their transitive dependencies reference Umbraco core assemblies.
Constructors
View SourceDefaultUmbracoAssemblyProvider(Assembly, ILoggerFactory, Nullable<IEnumerable<String>>)
Declaration
public DefaultUmbracoAssemblyProvider(Assembly entryPointAssembly, ILoggerFactory loggerFactory, IEnumerable<string>? additionalTargetAssemblies = null)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.Assembly | entryPointAssembly | |
ILoggerFactory | loggerFactory | |
System.Nullable<IEnumerable<System.String>> | additionalTargetAssemblies |
Properties
View SourceAssemblies
Declaration
public IEnumerable<Assembly> Assemblies { get; }
Property Value
Type | Description |
---|---|
IEnumerable<System.Reflection.Assembly> |