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)); } }
public AssetInstance(string address, AssetVersion[] installedVersions, AssetVersion downloadingVersion) { this.Address = address; this.InstalledVersions = installedVersions; this.DownloadingVersion = downloadingVersion; }