Turned getter-like extension methods into extension properties (#1157)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-04 13:00:56 +01:00
1 parent 0375318b1b
commit f649febf88
286 files changed
+1379 -1109

No files matched your search

@@ -56,7 +56,7 @@ public sealed class DataBatchProcessing(Expression<Func<Data, DataBatchProcessin
/// The file format of the individual result files, one per processed document.
/// </summary>
/// <remarks>
/// Only formats which hold an entire answer, see FileExportFormatExtensions.ANSWER_FORMATS.
/// Only formats which hold an entire answer, see FileExportFormat.AnswerFormats.
/// The tabular formats belong to the output mode TABLE_ONLY, which writes one table for the
/// whole run instead of one file per document.
/// </remarks>
@@ -70,7 +70,7 @@ public sealed class DataBatchProcessing(Expression<Func<Data, DataBatchProcessin
/// any format, a table or code for example, and the result files would then end up without an
/// extension.
/// </remarks>
public static bool IsValidResultFileFormat(FileExportFormat format) => FileExportFormatExtensions.ANSWER_FORMATS.Contains(format);
public static bool IsValidResultFileFormat(FileExportFormat format) => FileExportFormat.AnswerFormats.Contains(format);
public string CsvFileName { get; set; } = ManagedConfiguration.Register(configSelection, value => value.CsvFileName, string.Empty);