private static IAssetBundle ReadXliff(string filename, Stream file, Flavour flavour, ZipArchiveEntry entry = null) { var parser = new XliffParser(); parser.Filename = filename; parser.Flavour = flavour; parser.ZipEntry = entry; return(parser.Read(file)); }
private static IEnumerable <IAsset> ReadXliff(string filename, Stream file, ref Flavour flavour, ZipArchiveEntry entry) { var parser = new XliffParser(); parser.Filename = filename; parser.Flavour = flavour; parser.ZipEntry = entry; var assets = parser.Read(file); flavour = parser.Flavour; return(assets); }