Table of Contents

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 Type
instance IAbpModule
isLoadedAsPlugIn 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

Assembly

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

IReadOnlyList<IAbpModuleDescriptor>

Instance

The instance of the module class (singleton).

public IAbpModule Instance { get; }

Property Value

IAbpModule

IsLoadedAsPlugIn

Is this module loaded as a plug-in?

public bool IsLoadedAsPlugIn { get; }

Property Value

bool

Type

Type of the module class.

public Type Type { get; }

Property Value

Type

Methods

AddDependency(IAbpModuleDescriptor)

public void AddDependency(IAbpModuleDescriptor descriptor)

Parameters

descriptor IAbpModuleDescriptor

ToString()

public override string ToString()

Returns

string