36 lines
1.2 KiB
Markdown
36 lines
1.2 KiB
Markdown
---
|
|
source_files:
|
|
- Common/DTS.Common.Property/PropertyModule.cs
|
|
generated_at: "2026-04-17T16:38:14.339463+00:00"
|
|
model: "zai-org/GLM-5-FP8"
|
|
schema_version: 1
|
|
sha256: "6f33dd81b4b3a6c5"
|
|
---
|
|
|
|
# Documentation: DTS.Common.Property Module
|
|
|
|
## 1. Purpose
|
|
|
|
This module serves as a Prism-based modular component for property visualization within the DTS application framework. It registers property-related views and view models with the Unity dependency injection container and provides assembly-level metadata (name, image, region, and group) used by the main application shell to display and categorize available components. The module follows the Prism modularity pattern, allowing it to be dynamically loaded and discovered at runtime.
|
|
|
|
---
|
|
|
|
## 2. Public Interface
|
|
|
|
### `PropertyModule` Class
|
|
|
|
**Signature:**
|
|
```csharp
|
|
[Export(typeof(IModule))]
|
|
[Module(ModuleName = "Property")]
|
|
public class PropertyModule : IModule
|
|
```
|
|
|
|
**Constructor:**
|
|
```csharp
|
|
public PropertyModule(IUnityContainer unityContainer)
|
|
```
|
|
Accepts an `IUnityContainer` instance via constructor injection.
|
|
|
|
**Methods:**
|
|
- `void Initialize()` — Registers `IPropertyView` → `PropertyView` and `IPropertyViewModel` → `PropertyViewModel` type mappings with |