예제 #1
0
        private void DisplayTracks(OutputDisplayType outputDisplayType, List <Track> tracks)
        {
            var outputDisplay = OutputDisplayFactory.CreateOutputDisplay(outputDisplayType);

            var preparedTracks = outputDisplay.PrepareDisplay(tracks);

            outputDisplay.WriteDisplay(preparedTracks);

            _quit = true;
        }
예제 #2
0
        public static IOutputDisplay CreateOutputDisplay(OutputDisplayType outputDisplayType) =>

        outputDisplayType switch
        {