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