32 lines
1.4 KiB
Markdown
32 lines
1.4 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- Common/DTS.Common/XMLUtils/TestSetupExportXML/TestSetups/TestSetupsXMLClass.cs
|
||
|
|
generated_at: "2026-04-17T16:27:18.976880+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "890619d12614e6fe"
|
||
|
|
---
|
||
|
|
|
||
|
|
# TestSetups
|
||
|
|
|
||
|
|
### Purpose
|
||
|
|
This module defines the root XML container class `TestSetupsXMLClass` for serializing and deserializing collections of test setup configurations. It serves as the top-level entry point for XML export/import functionality related to test setups, wrapping an array of individual test setup definitions.
|
||
|
|
|
||
|
|
### Public Interface
|
||
|
|
|
||
|
|
**Class: `TestSetupsXMLClass`**
|
||
|
|
- `TestSetupXMLClass[] TestSetups { get; set; }` - Property decorated with `[XmlElement("TestSetup")]` that holds an array of test setup objects. Serializes each item as a `<TestSetup>` element within the root `<TestSetups>` element.
|
||
|
|
|
||
|
|
### Invariants
|
||
|
|
- The class is decorated with `[XmlRootAttribute("TestSetups")]`, meaning the XML root element must always be named "TestSetups" when serialized.
|
||
|
|
- Each child element in the XML must be named "TestSetup" as defined by the `XmlElement` attribute.
|
||
|
|
|
||
|
|
### Dependencies
|
||
|
|
- **Depends on**: `System.Xml.Serialization` for XML serialization attributes.
|
||
|
|
- **Depends on**: `TestSetupXMLClass` (referenced but not defined in this module; expected to be defined elsewhere in the codebase).
|
||
|
|
- **Dependents**: Unknown from source alone - likely used by XML export/import utilities.
|
||
|
|
|
||
|
|
### Gotchas
|
||
|
|
- None identified from source alone.
|
||
|
|
|
||
|
|
---
|