Пример #1
0
        public ActionResult Version()
        {
            AppVersionProvider verProvider = new AppVersionProvider(Package.MerchantNo, Package.UserCode, Package.ClientVersion);
            AppVersion         newVer      = verProvider.GetNewVersion();

            return(SuccessResult(newVer));
        }
Пример #2
0
        public void TestMethod1()
        {
            AppVersionProvider provider = new AppVersionProvider("yxhv3_android", null, "3.0.0.3");
            AppVersion         ver      = provider.GetNewVersion();

            Assert.IsTrue(ver != null);
        }