mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02: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
@@ -37,7 +37,7 @@ public sealed class MailboxValidationTests
|
||||
[TestCase(MailboxTransportSecurity.SSL_ON_CONNECT, ExpectedResult = 993)]
|
||||
[TestCase(MailboxTransportSecurity.STARTTLS, ExpectedResult = 143)]
|
||||
[TestCase(MailboxTransportSecurity.UNKNOWN, ExpectedResult = null)]
|
||||
public int? EachEncryptionComesWithItsUsualPort(MailboxTransportSecurity transportSecurity) => transportSecurity.GetUsualPort();
|
||||
public int? EachEncryptionComesWithItsUsualPort(MailboxTransportSecurity transportSecurity) => transportSecurity.UsualPort;
|
||||
|
||||
[TestCase(0, ExpectedResult = false)]
|
||||
[TestCase(DataSourceValidation.MIN_ATTACHMENT_SIZE_MEGABYTES, ExpectedResult = true)]
|
||||
|
||||
Reference in new issue
Block a user