private void DisplayTracks(OutputDisplayType outputDisplayType, List <Track> tracks) { var outputDisplay = OutputDisplayFactory.CreateOutputDisplay(outputDisplayType); var preparedTracks = outputDisplay.PrepareDisplay(tracks); outputDisplay.WriteDisplay(preparedTracks); _quit = true; }
public static IOutputDisplay CreateOutputDisplay(OutputDisplayType outputDisplayType) => outputDisplayType switch {