private bool VersionMatch(IPackageSearchMetadata metadata) { if (Versions == null || Versions.All(string.IsNullOrWhiteSpace)) { return(true); } return(Versions.Contains(metadata.Identity.Version.ToString())); }
private bool VersionMatch(IPackageSearchMetadata metadata) { if (Versions == null || Versions.All(string.IsNullOrWhiteSpace)) { return(true); } return(Versions.Contains(metadata.Identity.Version.ToString())); }