private PlaylistDataManager() { Readers = new Dictionary<string, IPlaylistReader>(); Writers = new Dictionary<string, IPlaylistWriter>(); // TODO: Put this somewhere else so the settings are added early on // ReSharper disable InconsistentNaming var m3ur = new M3UPlaylistReader(); Readers.Add(m3ur.Id, m3ur); var m3uw = new M3UPlaylistWriter(); Writers.Add(m3uw.Id, m3uw); // ReSharper restore InconsistentNaming }
private PlaylistDataManager() { Readers = new Dictionary <string, IPlaylistReader>(); Writers = new Dictionary <string, IPlaylistWriter>(); // TODO: Put this somewhere else so the settings are added early on // ReSharper disable InconsistentNaming var m3ur = new M3UPlaylistReader(); Readers.Add(m3ur.Id, m3ur); var m3uw = new M3UPlaylistWriter(); Writers.Add(m3uw.Id, m3uw); // ReSharper restore InconsistentNaming }