public SemanticVersion Create(Version version, string specialVersion, string orginalValue) { if (version == null) { throw XArgumentException.IsNull(nameof(version)); } var semanticVersion = new SemanticVersion { SpecialVersion = specialVersion ?? string.Empty, OrginalValue = string.IsNullOrEmpty(orginalValue) ? version + (!string.IsNullOrEmpty(specialVersion) ? '-' + specialVersion : null) : orginalValue, }; XNotImplemented.CommentedOutTemporarily("Need to revist the source documentation and complete the algorithm."); return(semanticVersion); }
public SemanticVersion Create(Version version, string specialVersion) { return(Create(version, specialVersion, null)); }
public SemanticVersion Create(Version version) { return(Create(version, string.Empty)); }