private int CompareSuffix(PackageVersion packageVersion) { return(string.IsNullOrWhiteSpace(Suffix) ? 1 : string.Compare(Suffix, packageVersion.Suffix, StringComparison.InvariantCulture)); }
public NugetPackage(string name, PackageVersion version) { Name = name; Version = version; }
public PackageVersion(PackageVersion packageVersion) { Version = packageVersion.Version; Suffix = packageVersion.Suffix; }