Module Usage
This section of documentation describes the main ways of using modules in the OutfitTool system. Modules extend the functionality of the main application and can be connected in various ways.
Module Connection Methods
There are two main ways to connect modules to the host application:
1. Manual Connection
The module is installed manually by copying files to the appropriate directory:
- Compile the module into a DLL file
- Create a subfolder with the module name in the
modulesdirectory of the host application - Copy the module's DLL file and all dependencies into this folder
- Launch the host application and enable the module through the interface
This method is suitable for module development and testing, as well as for installing modules from unofficial sources.
2. Installation from Remote Repository
Modules are automatically installed from a centralized repository:
- Configure the repository URL in the host application settings
- Download the list of available modules
- Select the required modules and install them
- The application will automatically download and install the selected modules
This method provides centralized module management, automatic updates, and compatibility checks.
Module Lifecycle
The host application automatically manages the module lifecycle:
- Loading: When the application starts, the host scans the
modulesfolder and loads all enabled modules - Initialization: For each enabled module, the
Initmethod is called with a logger instance passed - Language Setting: The current interface language is passed to the module via the
SetLanguagemethod - Shutdown: When the application closes, the
Shutdownmethod is called for each module to properly release resources
Usage Recommendations
- Always back up important data before installing new modules
- Test modules in an isolated environment before using them in production
- Keep track of module and host application updates to ensure compatibility
- Use unique names for modules to avoid conflicts
- Document installed modules and their versions for easier management