public override global::alphatab.model.Score readScore() { unchecked { global::alphatab.importer.GpxFileSystem fileSystem = new global::alphatab.importer.GpxFileSystem(); fileSystem.setFileFilter((((global::alphatab.importer.GpxImporter_readScore_38__Fun.__hx_current != default(global::alphatab.importer.GpxImporter_readScore_38__Fun))) ? (global::alphatab.importer.GpxImporter_readScore_38__Fun.__hx_current) : (global::alphatab.importer.GpxImporter_readScore_38__Fun.__hx_current = ((global::alphatab.importer.GpxImporter_readScore_38__Fun)(new global::alphatab.importer.GpxImporter_readScore_38__Fun()))))); fileSystem.load(this._data); string xml = ((global::alphatab.importer.GpxFile)(fileSystem.files[0])).data.toString(); fileSystem.files = default(global::haxe.root.Array <object>); fileSystem = default(global::alphatab.importer.GpxFileSystem); global::alphatab.importer.GpxParser parser = new global::alphatab.importer.GpxParser(); parser.parseXml(xml); this.finish(parser.score); return(parser.score); } }
public override global::alphatab.model.Score readScore() { unchecked { global::alphatab.importer.GpxFileSystem fileSystem = new global::alphatab.importer.GpxFileSystem(); fileSystem.setFileFilter(( (( global::alphatab.importer.GpxImporter_readScore_38__Fun.__hx_current != default(global::alphatab.importer.GpxImporter_readScore_38__Fun) )) ? (global::alphatab.importer.GpxImporter_readScore_38__Fun.__hx_current) : (global::alphatab.importer.GpxImporter_readScore_38__Fun.__hx_current = ((global::alphatab.importer.GpxImporter_readScore_38__Fun) (new global::alphatab.importer.GpxImporter_readScore_38__Fun()) )) )); fileSystem.load(this._data); string xml = ((global::alphatab.importer.GpxFile) (fileSystem.files[0]) ).data.toString(); fileSystem.files = default(global::haxe.root.Array<object>); fileSystem = default(global::alphatab.importer.GpxFileSystem); global::alphatab.importer.GpxParser parser = new global::alphatab.importer.GpxParser(); parser.parseXml(xml); this.finish(parser.score); return parser.score; } }