Catalog++

This commit is contained in:
2022-09-24 12:32:00 +01:00
parent 58f49af5f0
commit fcea41f8c1
8 changed files with 48 additions and 76 deletions

View File

@ -51,7 +51,7 @@ namespace isnd.Data.Packages
/// </summary>
/// <param name="bid">base url tu use for building the id property</param>
/// <returns></returns>
internal RegistrationLeaf ToLeave(string bid)
public RegistrationLeaf ToLeave(string bid)
{
if (Versions.Count == 0) throw new Exception("NO VERSION");
var v = Versions.First();

View File

@ -49,5 +49,6 @@ namespace isnd.Data
public string NuspecLink => $"/{Constants.SpecFileEstension}/{PackageId}/{FullString}/{PackageId}-{FullString}."
+ Constants.SpecFileEstension;
public string SementicVersionString { get => $"{Major}.{Minor}.{Patch}"; }
}
}