示例#1
0
		public override void RetrieveAsyncData(PackageManager manager)
		{
			// Retrieve info about newest online version
			PackageInfo newestPackage = manager.QueryPackageInfo(this.itemPackageInfo.PackageName.VersionInvariant);
			lock (this.asyncDataLock)
			{
				this.newestPackageInfo = newestPackage;
			}
			this.GetUpdateCompatibility(manager);
		}
示例#2
0
		public override void RetrieveAsyncData(PackageManager manager)
		{
			base.RetrieveAsyncData(manager);

			// Retrieve info about newest online version
			PackageInfo newestPackage = manager.QueryPackageInfo(this.itemPackageInfo.Id);
			lock (this.asyncDataLock)
			{
				this.newestPackageInfo = newestPackage;
			}
		}