AppModuleLoader Class

AppModules loader class.

Namespace: Xafari.BC.Xas
Assembly: Xafari.BC.Xas (in Xafari.BC.Xas.dll)

  • c#
  • VB

public class AppModuleLoader : ModuleLoader, IAppModuleLoader

Public Class AppModuleLoader
  Inherits ModuleLoader
  Implements IAppModuleLoader
End Class

Name Description
msdn2017/pubmethod AppModuleLoader(string, string) Creates a new instance of the AppModuleLoader class.
Top
Name Description
msdn2017/pubproperty AppModuleName Platform-agnostic AppModule name.
msdn2017/pubproperty AppNamePrefix Application name prefix.
msdn2017/pubproperty AssembliesPath Path where the loader searches for assemblies.
msdn2017/pubproperty CfgAppModuleName Designed for the configurator AppModule name.
msdn2017/pubproperty Modules Loaded XAF modules instances collection. (inherited from ModuleLoader).
msdn2017/pubproperty MvcAppModuleName MVC specific AppModule name.
msdn2017/pubproperty WebAppModuleName ASP.NET specific AppModule name.
msdn2017/pubproperty WinAppModuleName Windows Forms specific AppModule name.
Top
Name Description
msdn2017/pubmethod LoadAppModule() Loads platform-agnostic AppModule.
msdn2017/pubmethod LoadAppModuleCfg() Loads AppModule designed for the configurator.
msdn2017/pubmethod LoadAppModuleMvc() Loads MVC specific AppModule.
msdn2017/pubmethod LoadAppModuleWeb() Loads ASP.NET specific AppModule.
msdn2017/pubmethod LoadAppModuleWin() Loads Windows Forms specific AppModule.
msdn2017/pubmethod LoadModules(string, string) Loads XAF modules from specified assembly. (inherited from ModuleLoader).
msdn2017/pubmethod TryLoadAppModuleCfg(out IEnumerable<ModuleBase>) Tries to load AppModule designed for the configurator.
msdn2017/pubmethod TryLoadModules(string, string, out IEnumerable<ModuleBase>) Tries to load XAF modules from specified assembly. (inherited from ModuleLoader).
Top
Serves to create instances of AppModule classes. Created instances are stored in the Modules collection. The loader assumes that AppModule assembly names are formed according to the following pattern: <application_name_prefix>.AppModule.<platform> The loader can load the following AppModules: <application_name_prefix>.AppModule - platform-agnostic AppModule; <application_name_prefix>.AppModule.Win - Windows Forms specific AppModule; <application_name_prefix>.AppModule.Web - ASP.NET specific AppModule; <application_name_prefix>.AppModule.Mvc - MVC specific AppModule; <application_name_prefix>.AppModule.Cfg - AppModule designed for the configurator;

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1