Table of Contents

Struct ParsedBuildVersionXml

Namespace
Ubiquity.NET.Versioning
Assembly
Ubiquity.NET.Versioning.dll

POCO version of information parsed from a Build version XML file

public readonly record struct ParsedBuildVersionXml : IEquatable<ParsedBuildVersionXml>
Implements
Inherited Members

Remarks

This structure holds the values parsed from a build version XML file, these values serve as a common base input for generation of a final CSemVer for a given build.

Constructors

ParsedBuildVersionXml(int, int, int, string, int, int)

Initializes a new instance of the ParsedBuildVersionXml struct.

Properties

BuildMajor

Gets the major portion of the build information

BuildMinor

Gets the minor portion of the build information

BuildPatch

Gets the patch portion of the build information

PreReleaseFix

Gets the pre-release fix portion of the build information

PreReleaseName

Gets the pre-release name portion of the build information

PreReleaseNumber

Gets the pre-release number portion of the build information

Methods

Parse(TextReader)

Parse Build version XML from a TextReader

Parse(string)

Parse XML from an input string

Parse(XDocument)

Parse a ParsedBuildVersionXml from an XDocument

ParseFile(string)

Parse XML data for Build version information from an XML file