2.1 KiB
2.1 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | ||
|---|---|---|---|---|---|---|
|
2026-04-17T16:07:10.454200+00:00 | zai-org/GLM-5-FP8 | 1 | 1757ca37501c0a0c |
TestModule
Purpose
This module defines the contract for a Test Module component within the DTS application, following a View-ViewModel pattern. It provides interfaces for a testing or assembly inspection feature, allowing the ViewModel to expose a list of assemblies that the View can consume. This appears to be part of a plugin or module testing infrastructure.
Public Interface
ITestModuleView
- Signature:
public interface ITestModuleView : IBaseView { } - Description: Marker interface for the Test Module View. Inherits from
IBaseViewbut defines no additional members.
ITestModuleViewModel
- Signature:
public interface ITestModuleViewModel : IBaseViewModel - Description: ViewModel interface for the Test Module. Inherits from
IBaseViewModeland exposes assembly data. - Property:
List<Assembly> AssemblyList { get; set; }- Gets or sets a list of .NET assemblies, presumably for inspection, testing, or module loading purposes.
Invariants
ITestModuleViewmust always be assignable toIBaseView.ITestModuleViewModelmust always be assignable toIBaseViewModel.- The
AssemblyListproperty may be null or empty; null safety is not enforced at the interface level.
Dependencies
- Depends on:
DTS.Common.Base(forIBaseViewandIBaseViewModelbase interfaces) - Depends on:
System.Collections.Generic(forList<T>) - Depends on:
System.Reflection(forAssemblytype) - Depended on by: Cannot be determined from source alone; likely consumed by concrete View/ViewModel implementations and a DI container or navigation service.
Gotchas
- The
AssemblyListusessetaccessor, meaning the entire list can be replaced. Consumers should be aware that the reference can change, not just the contents. - Neither interface defines any methods for loading or validating assemblies—this logic is left to implementations.