Пример #1
0
        protected override bool GreaterOrEquals(string ntVersion, string nTbenchmark)
        {
            string version   = ntVersion.ToLower().Replace("nt", string.Empty).Trim();
            string benchmark = nTbenchmark.ToLower().Replace("nt", string.Empty).Trim();

            return(VersionComparer.GreaterEquals(version, benchmark));
        }
        protected override bool GreaterOrEquals(string version, string benchmark)
        {
            version   = version.ToLower().Trim();
            benchmark = benchmark.ToLower().Trim();

            if (version.Contains("ie") && benchmark.Contains("edge"))
            {
                return(true);
            }

            version   = version.Replace("ie", string.Empty).Replace("edge", string.Empty).Trim();
            benchmark = benchmark.Replace("ie", string.Empty).Replace("edge", string.Empty).Trim();

            return(VersionComparer.GreaterEquals(version, benchmark));
        }
 protected override bool GreaterOrEquals(string version, string benchmark)
 {
     return(VersionComparer.GreaterEquals(version, benchmark));
 }