DynamicModuleLoaderLoadModules Method

Loads the modules. Creates an instance of each available class that implements IModule.

Definition

Namespace: MFiles.VAF
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public virtual IEnumerable<IModule> LoadModules(
	Vault vault,
	bool initializeModules = true,
	bool disableInfoMessageLogging = true,
	bool throwExceptions = false
)

Parameters

vault  Vault
The vault object.
initializeModules  Boolean  (Optional)
Specifies whether the loaded modules should also load their configurations. Defaults to true.
disableInfoMessageLogging  Boolean  (Optional)
True if the loader should not write informational messages to the event log.
throwExceptions  Boolean  (Optional)
True if exceptions should be leaked through if retry-able errors are encountered in module initialization.

Return Value

IEnumerableIModule
Collection of loaded modules.

Implements

IModuleLoaderLoadModules(Vault, Boolean, Boolean, Boolean)

See Also