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

@@ -6,7 +6,7 @@ public static class AuthExtensions
extension(Auth auth)
{
public string Name() => auth switch
public string Name => auth switch
{
Auth.NONE => TB("No login necessary: useful for public data sources"),
@@ -17,7 +17,7 @@ public static class AuthExtensions
_ => TB("Unknown login method")
};
public string ToPrompt() => auth switch
public string Prompt => auth switch
{
Auth.NONE => "No login is necessary, the data source is public.",