mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-10 23:27:21 +00:00
Turned getter-like extension methods into extension properties (#1157)
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user