Class AssemblyList
Provides a list of assemblies that should be used when scanning for plugins / modules etc.
Inheritance
Inherited Members
Namespace: EPiServer.Framework.Initialization
Assembly: EPiServer.Framework.dll
Version: 8.11.0Syntax
public class AssemblyList
Constructors
AssemblyList()
Initializes a new instance of the AssemblyList class.
Declaration
public AssemblyList()
Remarks
Initializes the AllowedAssemblies with all assemblies in the app domain, except .NET Framework assemblies and assemblies with the PreventAssemblyScan attribute.
AssemblyList(AssemblyElementCollection)
Initializes a new instance of the AssemblyList class.
Declaration
public AssemblyList(AssemblyElementCollection assemblyConfiguration)
Parameters
Type | Name | Description |
---|---|---|
AssemblyElementCollection | assemblyConfiguration | The assembly configuration. |
Remarks
Does the same thing as the default constructor, but also filters the list of allowed assemblies based on the <scanAssembly> configuration section.
AssemblyList(Boolean)
Initializes a new instance of the AssemblyList class.
Declaration
public AssemblyList(bool forceBinFolderScan)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | forceBinFolderScan | if set to |
AssemblyList(Boolean, String)
Initializes a new instance of the AssemblyList class.
Declaration
public AssemblyList(bool forceBinFolderScan, string relativeProbingPath)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | forceBinFolderScan | if set to |
System.String | relativeProbingPath | The relative probing path where framework should scan assemblies. |
Properties
AllowedAssemblies
Gets or sets the allowed assemblies.
Declaration
public IEnumerable<Assembly> AllowedAssemblies { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> | The allowed assemblies. |
Remarks
See the constructors for details on how the AllowedAssemblies gets populated.