public static SoundCloudTrackFound ToSoundCloudTrackFound(this AtSoundCloudTrackFoundTuple y) { return((uid, streamUrl, trackName, waveformUrl) => { // without brackets, using the inline lamda version the new statement is lost for some reason... // we could fix this via jsc.meta rewriter y( new SoundCloudTrackFoundTuple { uid = uid, streamUrl = streamUrl, trackName = trackName, waveformUrl = waveformUrl } ); }); }
public static void SoundCloudTracksDownload(this ISoundCloudTracksDownload e, string page, AtSoundCloudTrackFoundTuple yield) { e.SoundCloudTracksDownload(page, yield.ToSoundCloudTrackFound()); }
public static void SoundCloudTracksDownload(this ISoundCloudTracksDownload e, string page, AtSoundCloudTrackFoundTuple yield) { e.SoundCloudTracksDownload(page, yield.ToSoundCloudTrackFound()); }