Added synonym assistant (#124)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2024-09-06 22:02:20 +02:00
1 parent 4ea767cb45
commit 4bd22108de
13 files changed
+237 -6

No files matched your search

@@ -86,6 +86,15 @@ public static class ConfigurationSelectDataFactory
yield return new(language.Name(), language);
}
public static IEnumerable<ConfigurationSelectData<CommonLanguages>> GetCommonLanguagesOptionalData()
{
foreach (var language in Enum.GetValues<CommonLanguages>())
if(language is CommonLanguages.AS_IS)
yield return new("Do not specify the language", language);
else
yield return new(language.Name(), language);
}
public static IEnumerable<ConfigurationSelectData<CommonCodingLanguages>> GetCommonCodingLanguagesData()
{
foreach (var language in Enum.GetValues<CommonCodingLanguages>())