Exemple #1
0
 public List <RawVersionListManifestEntry> GetVersionsByTypes(string[] types, RawVersionListManifestSortMethod sorting)
 => Versions.Where(x => sorting == RawVersionListManifestSortMethod.INCLUDE
         ? types.Contains(x.ReleaseType)
         : !types.Contains(x.ReleaseType)).ToList();
Exemple #2
0
 public List <RawVersionListManifestEntry> GetVersionsByType(string type, RawVersionListManifestSortMethod sorting)
 => Versions.Where(x => sorting == RawVersionListManifestSortMethod.INCLUDE
         ? x.ReleaseType == type
         : x.ReleaseType != type).ToList();