mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02:07: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
@@ -22,7 +22,7 @@ public static class ProcessStepTextRouter
|
||||
/// <returns>The text representation of the process step.</returns>
|
||||
public static string GetText<T>(T step) where T : struct, Enum => step switch
|
||||
{
|
||||
ReadWebContentSteps x => x.GetText(),
|
||||
ReadWebContentSteps x => x.Text,
|
||||
_ => DeriveName(step)
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user