Method FormatElements
- Namespace
- Ubiquity.NET.Versioning
- Assembly
- Ubiquity.NET.Versioning.dll
FormatElements(bool)
Gets this PrereleaseVersion as a sequence of strings
public IEnumerable<string> FormatElements(bool alawaysIncludeZero = false)
Parameters
alawaysIncludeZero
boolIndicates whether the result will always include zero values
Returns
- IEnumerable<string>
Sequence of strings that represent this instance
Remarks
The default behavior is to skip the Number value if it and the Fix
value are zero. alawaysIncludeZero
is used to override this and show the
zero value always. (Normally this is only used for a CSemVerCI)
- See Also