Exemplo n.º 1
0
            public int Compare(PackageVersion x, PackageVersion y)
            {
                SemVersion x_ver = SemVersion.Parse(x.VersionString);
                SemVersion y_ver = SemVersion.Parse(y.VersionString);

                return(-x_ver.CompareByPrecedence(y_ver));
            }