Exemplo n.º 1
0
 /// <summary>
 /// Преобразовать параметры конвертации из трансферной модели
 /// </summary>
 private static ConvertingSettingsComponent ConvertingSettingsToRequest(ConvertingSettingsRequest convertingSettings) =>
 new ConvertingSettingsComponent(convertingSettings.PersonId, convertingSettings.PdfNamingType,
                                 convertingSettings.ConvertingModeTypes.ToList(),
                                 convertingSettings.UseDefaultSignature);
 /// <summary>
 /// Преобразовать параметры конвертации из трансферной модели
 /// </summary>
 private static IConvertingPackageSettings ToConvertingSettings(ConvertingSettingsRequest convertingSettingsRequest) =>
 new ConvertingPackageSettings(convertingSettingsRequest.PersonId, convertingSettingsRequest.PdfNamingType,
                               convertingSettingsRequest.ConvertingModeTypes, convertingSettingsRequest.UseDefaultSignature);
 public PackageDataRequestServer(Guid id, ConvertingSettingsRequest convertingSettings,
                                 IList <FileDataRequestServer> filesData, int attemptingConvertCount)
     : base(id, convertingSettings, filesData)
 {
     AttemptingConvertCount = attemptingConvertCount;
 }
 public PackageDataRequestClient(Guid id, ConvertingSettingsRequest convertingSettings,
                                 IList <FileDataRequestClient> filesData)
     : base(id, convertingSettings, filesData)
 {
 }