コード例 #1
0
 private int CompareSuffix(PackageVersion packageVersion)
 {
     return(string.IsNullOrWhiteSpace(Suffix)
                         ? 1
                         : string.Compare(Suffix, packageVersion.Suffix, StringComparison.InvariantCulture));
 }
コード例 #2
0
 public NugetPackage(string name, PackageVersion version)
 {
     Name    = name;
     Version = version;
 }
コード例 #3
0
 public PackageVersion(PackageVersion packageVersion)
 {
     Version = packageVersion.Version;
     Suffix  = packageVersion.Suffix;
 }