Class AssemblyList
Provides a list of assemblies that should be used when scanning for plugins / modules etc.
Inheritance
Namespace: EPiServer.Framework.Initialization
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public class AssemblyList : Object
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(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.
Methods
AllScannableAssemblies(Boolean, String)
Loads and returns the list of alls the scannable assemblies.
Declaration
public static IEnumerable<Assembly> AllScannableAssemblies(bool forceBinFolderScan, string relativeProbingPath)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | forceBinFolderScan | if set to |
System.String | relativeProbingPath | The relative probing path. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> |