mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-11 07:47: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
@@ -9,7 +9,7 @@ public static class MailboxMaxAgeExtensions
|
||||
/// <param name="maxAge">The period.</param>
|
||||
extension(MailboxMaxAge maxAge)
|
||||
{
|
||||
public string GetName() => maxAge switch
|
||||
public string Name => maxAge switch
|
||||
{
|
||||
MailboxMaxAge.LAST_3_MONTHS => TB("The last 3 months"),
|
||||
MailboxMaxAge.LAST_6_MONTHS => TB("The last 6 months"),
|
||||
|
||||
Reference in new issue
Block a user