mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-11 20: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
+2
-2
@@ -152,12 +152,12 @@ internal static class SwotAnalysisModerationResponseParser
|
||||
/// <returns>The first issue, or an empty string.</returns>
|
||||
private static string FindIssue(SwotAnalysisCategory category, SwotModeratedCategory moderatedCategory, HashSet<string> factorIds)
|
||||
{
|
||||
var name = category.JsonName();
|
||||
var name = category.JsonName;
|
||||
var listIssue = FindListIssue(name, moderatedCategory.Findings.Count, moderatedCategory.EmptyMessage);
|
||||
if (listIssue.Length > 0)
|
||||
return listIssue;
|
||||
|
||||
var prefix = category.FactorIdPrefix();
|
||||
var prefix = category.FactorIdPrefix;
|
||||
for (var index = 0; index < moderatedCategory.Findings.Count; index++)
|
||||
{
|
||||
var finding = moderatedCategory.Findings[index];
|
||||
|
||||
Reference in new issue
Block a user