Class AbpModuleDescriptor
- Namespace
- Volo.Abp.Modularity
- Assembly
- Volo.Abp.Core.dll
public class AbpModuleDescriptor : IAbpModuleDescriptor
- Inheritance
-
AbpModuleDescriptor
- Implements
- Inherited Members
- Extension Methods
Constructors
AbpModuleDescriptor(Type, IAbpModule, bool)
public AbpModuleDescriptor(Type type, IAbpModule instance, bool isLoadedAsPlugIn)
Parameters
type
Typeinstance
IAbpModuleisLoadedAsPlugIn
bool
Properties
AllAssemblies
All the assemblies of the module. Includes the main Assembly and other assemblies defined on the module Type using the AdditionalAssemblyAttribute attribute.
public Assembly[] AllAssemblies { get; }
Property Value
- Assembly[]
Assembly
Main assembly that defines the module Type.
public Assembly Assembly { get; }
Property Value
Dependencies
Modules on which this module depends on. A module can depend on another module using the DependsOnAttribute attribute.
public IReadOnlyList<IAbpModuleDescriptor> Dependencies { get; }
Property Value
Instance
The instance of the module class (singleton).
public IAbpModule Instance { get; }
Property Value
IsLoadedAsPlugIn
Is this module loaded as a plug-in?
public bool IsLoadedAsPlugIn { get; }
Property Value
Type
Type of the module class.
public Type Type { get; }
Property Value
Methods
AddDependency(IAbpModuleDescriptor)
public void AddDependency(IAbpModuleDescriptor descriptor)
Parameters
descriptor
IAbpModuleDescriptor
ToString()
public override string ToString()