/// <summary> /// Экспортировать в другие форматы и добавить в список обработанных файлов /// </summary> private IResultCollection <IFileDataSourceServer> ExportFileToSaveResult(IResultCollection <IFileDataSourceServer> saveResult, IDocumentLibrary documentLibrary, IFilePath filePath, IConvertingSettings convertingSettings) => documentLibrary.GetStampContainer(convertingSettings.ToApplication()). WhereContinue(stampContainer => ConvertingModeChoice.IsDwgConvertingNeed(convertingSettings.ConvertingModeTypes) && (stampContainer.StampDocumentType == StampDocumentType.Specification || stampContainer.StampDocumentType == StampDocumentType.Drawing), okFunc: stampContainer => saveResult.ConcatResultValue(ExportFile(documentLibrary, filePath, stampContainer.StampDocumentType)), badFunc: _ => saveResult);