Show / Hide Table of Contents

Class ModuleLoader

Inheritance
object
ModuleLoader
Implements
IModuleLoader
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Modularity
Assembly: Volo.Abp.Core.dll
Syntax
public class ModuleLoader : IModuleLoader

Constructors

ModuleLoader()

Declaration
public ModuleLoader()

Methods

CreateAndRegisterModule(IServiceCollection, Type)

Declaration
protected virtual IAbpModule CreateAndRegisterModule(IServiceCollection services, Type moduleType)
Parameters
Type Name Description
IServiceCollection services
Type moduleType
Returns
Type Description
IAbpModule

CreateModuleDescriptor(IServiceCollection, Type, bool)

Declaration
protected virtual AbpModuleDescriptor CreateModuleDescriptor(IServiceCollection services, Type moduleType, bool isLoadedAsPlugIn = false)
Parameters
Type Name Description
IServiceCollection services
Type moduleType
bool isLoadedAsPlugIn
Returns
Type Description
AbpModuleDescriptor

FillModules(List<AbpModuleDescriptor>, IServiceCollection, Type, PlugInSourceList)

Declaration
protected virtual void FillModules(List<AbpModuleDescriptor> modules, IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources)
Parameters
Type Name Description
List<AbpModuleDescriptor> modules
IServiceCollection services
Type startupModuleType
PlugInSourceList plugInSources

LoadModules(IServiceCollection, Type, PlugInSourceList)

Declaration
public IAbpModuleDescriptor[] LoadModules(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources)
Parameters
Type Name Description
IServiceCollection services
Type startupModuleType
PlugInSourceList plugInSources
Returns
Type Description
IAbpModuleDescriptor[]

SetDependencies(List<AbpModuleDescriptor>)

Declaration
protected virtual void SetDependencies(List<AbpModuleDescriptor> modules)
Parameters
Type Name Description
List<AbpModuleDescriptor> modules

SetDependencies(List<AbpModuleDescriptor>, AbpModuleDescriptor)

Declaration
protected virtual void SetDependencies(List<AbpModuleDescriptor> modules, AbpModuleDescriptor module)
Parameters
Type Name Description
List<AbpModuleDescriptor> modules
AbpModuleDescriptor module

SortByDependency(List<IAbpModuleDescriptor>, Type)

Declaration
protected virtual List<IAbpModuleDescriptor> SortByDependency(List<IAbpModuleDescriptor> modules, Type startupModuleType)
Parameters
Type Name Description
List<IAbpModuleDescriptor> modules
Type startupModuleType
Returns
Type Description
List<IAbpModuleDescriptor>

Implements

IModuleLoader

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform