コード例 #1
0
 public override bool Equals(object obj)
 {
     if (obj == null || !this.GetType().Equals(obj.GetType()))
     {
         return(false);
     }
     else
     {
         AssetVersion v = (AssetVersion)obj;
         return(Version.Equals(v.Version));
     }
 }
コード例 #2
0
 public AssetInstance(string address, AssetVersion[] installedVersions, AssetVersion downloadingVersion)
 {
     this.Address            = address;
     this.InstalledVersions  = installedVersions;
     this.DownloadingVersion = downloadingVersion;
 }