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 | |
---|---|---|
![]() |
AppModuleLoader(string, string) | Creates a new instance of the AppModuleLoader class. |
Name | Description | |
---|---|---|
![]() |
AppModuleName | Platform-agnostic AppModule name. |
![]() |
AppNamePrefix | Application name prefix. |
![]() |
AssembliesPath | Path where the loader searches for assemblies. |
![]() |
CfgAppModuleName | Designed for the configurator AppModule name. |
![]() |
Modules | Loaded XAF modules instances collection. (inherited from ModuleLoader). |
![]() |
MvcAppModuleName | MVC specific AppModule name. |
![]() |
WebAppModuleName | ASP.NET specific AppModule name. |
![]() |
WinAppModuleName | Windows Forms specific AppModule name. |
Name | Description | |
---|---|---|
![]() |
LoadAppModule() | Loads platform-agnostic AppModule. |
![]() |
LoadAppModuleCfg() | Loads AppModule designed for the configurator. |
![]() |
LoadAppModuleMvc() | Loads MVC specific AppModule. |
![]() |
LoadAppModuleWeb() | Loads ASP.NET specific AppModule. |
![]() |
LoadAppModuleWin() | Loads Windows Forms specific AppModule. |
![]() |
LoadModules(string, string) | Loads XAF modules from specified assembly. (inherited from ModuleLoader). |
![]() |
TryLoadAppModuleCfg(out IEnumerable<ModuleBase>) | Tries to load AppModule designed for the configurator. |
![]() |
TryLoadModules(string, string, out IEnumerable<ModuleBase>) | Tries to load XAF modules from specified assembly. (inherited from ModuleLoader). |
Name | Description | |
---|---|---|
![]() |
GetListValueByTerm<TDetails>(this object, string) | Obsolete. (Defined by TypeExtensions). |
![]() |
GetValueByTerm<TValue>(this object, string) | Obsolete. (Defined by TypeExtensions). |
![]() |
Session(this object, bool) | Obsolete. Returns Session for specified object. (Defined by SessionExtensions). |
![]() |
SetValueByTerm<TValue>(this object, string, TValue) | Obsolete. (Defined by TypeExtensions). |
Name | Description | |
---|---|---|
![]() |
AppModuleSuffix | |
![]() |
CfgSuffix | |
![]() |
ModulesDictionary | (inherited from ModuleLoader). |
![]() |
MvcSuffix | |
![]() |
WebSuffix | |
![]() |
WinSuffix |
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.