IModuleLoaderLoadModules Method |
Loads the modules. Creates an instance of each available class that implements IModule.
Namespace:
MFiles.VAF.Module
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
SyntaxIEnumerable<IModule> LoadModules(
Vault vault,
bool initializeModules = true,
bool disableInfoMessageLogging = true,
bool throwExceptions = false
)
Function LoadModules (
vault As Vault,
Optional initializeModules As Boolean = true,
Optional disableInfoMessageLogging As Boolean = true,
Optional throwExceptions As Boolean = false
) As IEnumerable(Of IModule)
IEnumerable<IModule^>^ LoadModules(
Vault^ vault,
bool initializeModules = true,
bool disableInfoMessageLogging = true,
bool throwExceptions = false
)
Parameters
- vault
- Type: Vault
The vault object. - initializeModules (Optional)
- Type: SystemBoolean
True if the modules should be also initialized. - disableInfoMessageLogging (Optional)
- Type: SystemBoolean
True if the loader should not write informational messages to the
event log. - throwExceptions (Optional)
- Type: SystemBoolean
True if exceptions should be leaked through if retry-able errors are
encountered in module initialization.
Return Value
Type:
IEnumerableIModuleCollection of loaded modules.
See Also