Table of Contents

Namespace Hi.Common.XmlUtils

Classes

FileRefSource<T>

A class that combines an XML-serializable data object with its source file path.

ProjectApiVersion

Carries the API version read from a project file's XML attribute through the XFactory deserialization pipeline via the object[] res parameter. Consumers retrieve it with res?.OfType<ProjectApiVersion>().FirstOrDefault().

XFactory

Factory class for generating objects from XML elements using registered generator functions.

XmlUtil

Utility for managing XML.

Interfaces

IMakeXmlSource

Interface for objects that can be serialized to XML format.

IToXElement

Interface of ToXElement(). Which can be represented by a single XElement.

Delegates

SetFileDelegate

Delegate for setting the file path during XML operations.

XFactory.GenByXElementDelegate

Delegate for generating objects from XML elements with relative file path.

XFactory.XmlExceptionDelegate

Delegate for handling XML exceptions during generation.