24 lines
1.3 KiB
Markdown
24 lines
1.3 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- DataPRO/Modules/SystemSettings/Tables/TablesSettingsModule.cs
|
||
|
|
generated_at: "2026-04-17T16:14:53.593290+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "a7eb20bb61914337"
|
||
|
|
---
|
||
|
|
|
||
|
|
# Tables
|
||
|
|
|
||
|
|
### Purpose
|
||
|
|
This module is a Prism/Unity module that registers the Tables Settings feature's view and view model with the dependency injection container. It also provides an `ImageAttribute` implementation (`TablesSettingsImageAttribute`) for assembly metadata used by the main shell to display the module as an available component in the Administrative group.
|
||
|
|
|
||
|
|
### Public Interface
|
||
|
|
|
||
|
|
- **`TablesSettingsModule`** (class, implements `IModule`)
|
||
|
|
- `TablesSettingsModule(IUnityContainer unityContainer)` — Constructor accepting the Unity container via DI.
|
||
|
|
- `void Initialize()` — Registers `ITablesSettingsView` → `TablesSettingsView` and `ITablesSettingsViewModel` → `TablesSettingsViewModel` with Unity (transient, not singleton despite comment).
|
||
|
|
- `void OnInitialized(IContainerProvider containerProvider)` — Empty implementation.
|
||
|
|
- `void RegisterTypes(IContainerRegistry containerRegistry)` — Calls `Initialize()`.
|
||
|
|
|
||
|
|
- **`TablesSettingsImageAttribute`** (class, extends `ImageAttribute`)
|
||
|
|
- `eAssemblyRegion AssemblyRegion` — Throws `NotImplementedException
|