1.8 KiB
1.8 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | ||
|---|---|---|---|---|---|---|
|
2026-04-17T16:07:58.356252+00:00 | zai-org/GLM-5-FP8 | 1 | ad373f54a4d46c05 |
TestModule
Purpose
This module defines the contract for a Test Module viewer component within the DTS application. It provides a minimal interface pair (View/ViewModel) following the MVVM pattern, where the ViewModel maintains a list of assemblies (AssemblyList). This appears to be a plugin or module inspection mechanism, allowing the application to dynamically load or display test modules via reflection.
Public Interface
ITestModuleView (extends IBaseView)
- Empty interface serving as a marker type for Test Module views.
ITestModuleViewModel (extends IBaseViewModel)
List<Assembly> AssemblyList { get; set; }— Gets or sets a list of .NET assemblies associated with this test module context.
Invariants
ITestModuleViewModel.AssemblyListmay be null or empty; no validation is enforced at the interface level.- Both interfaces inherit from
IBaseViewandIBaseViewModelrespectively, implying they must satisfy any contracts defined in those base types.
Dependencies
- Depends on:
DTS.Common.Base(forIBaseView,IBaseViewModel) - Depends on:
System.Collections.Generic(forList<T>) - Depends on:
System.Reflection(forAssembly)
Gotchas
- The
AssemblyListproperty uses a mutableList<Assembly>rather thanIList<Assembly>orIReadOnlyList<Assembly>, allowing external modification of the collection reference. The intended ownership semantics (who populates/clears this list) are unclear from the source alone.