void _export(object o) { _checking = true; InvalidateRequerySuggested(); try { //TODO: check if exporting files fit in device free space } finally { _checking = false; InvalidateRequerySuggested(); } _mediaManager.Export(Items.Select(mevm => mevm.MediaExport).ToArray(), _concatMedia, _concatMediaName, (IIngestDirectory)SelectedDirectory.Directory, _mXFAudioExportFormat, _mXFVideoExportFormat); _view.Close(); }