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
@@ -11,7 +11,7 @@ public static class MailboxConnectionFailureExtensions
|
||||
/// <summary>
|
||||
/// What went wrong, and what the user can do about it.
|
||||
/// </summary>
|
||||
public string GetDescription() => failure switch
|
||||
public string Description => failure switch
|
||||
{
|
||||
MailboxConnectionFailure.AUTHENTICATION_FAILED => TB("The server rejected the username or the password. Some providers require an app password instead of your usual password."),
|
||||
MailboxConnectionFailure.NETWORK_UNAVAILABLE => TB("The server could not be reached. Please check the host and the port, and whether you need a VPN connection."),
|
||||
|
||||
Reference in new issue
Block a user