public IMusicExporter FromType(MusicExportType type) { switch (type) { case MusicExportType.iTunes: return new ITunesExporter(_MSI); case MusicExportType.WindowsPhone: return new WindowsPhoneExporter(_MSI); case MusicExportType.Compressed: case MusicExportType.Custo: case MusicExportType.Directory: //IMusicCompleteFileExporter res = null; //res = new MusicExporter(_MSI,type); return new MusicExporter(_MSI, type); } return null; }
internal MusicExporter(IInternalMusicSession MSI, MusicExportType mit) { _IIC = MSI.GetNewSessionContext(); CompactFiles = mit; }