/// <summary> /// Load the tracks and undo previous edit to wptList. /// </summary> public void GetAllTracks(ITrackMessageProvider provider, StatusRecorder r) { try { GetTracks(provider, r); ReadMessage(r); } catch { } UndoEdit(); }
// @Throws private async Task GetTracksAsync(ITrackMessageProvider provider, StatusRecorder r) { try { Message = await provider.GetMessageAsync(); } catch { AddFailRecord(r); throw; } }
// @Throws private void GetTracks(ITrackMessageProvider provider, StatusRecorder r) { try { Message = provider.GetMessage(); } catch { AddFailRecord(r); throw; } }