1.3 KiB
1.3 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | |||
|---|---|---|---|---|---|---|---|
|
2026-04-17T16:25:04.256364+00:00 | zai-org/GLM-5-FP8 | 1 | 01efb5962c95d1a4 |
XMLUtils
Purpose
This module provides utility classes for handling XML data specific to the DTS system. It includes helpers for reading XML files with specific DTS metadata structures, a generic wrapper for serializing nullable types without standard xsi:nil attributes, and a parser for aggregating test metadata from multiple files.
Public Interface
static class DTSXMLFile
double GetItemsToCompleteCount(string fileName): Reads an XML file specified byfileNameand extracts theTotalItemsattribute from the root node. Returns0.0if the attribute is missing or an error occurs.string GetInnerXML(XmlReader reader): Reads the inner text of an XML element using the providedXmlReader. ThrowsArgumentExceptionif the reader is null.
class NullableElement<T>
NullableElement(): Initializes a new instance with no value (HasValueis false).NullableElement(T value): Initializes a new instance with the specified value.- `