Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Equals() [2/3]

bool System.Net.CredentialHostKey.Equals ( CredentialHostKey other)
inline

Definition at line 27 of file CredentialHostKey.cs.

28 {
29 bool flag = string.Equals(AuthenticationType, other.AuthenticationType, StringComparison.OrdinalIgnoreCase) && string.Equals(Host, other.Host, StringComparison.OrdinalIgnoreCase) && Port == other.Port;
30 if (NetEventSource.Log.IsEnabled())
31 {
32 NetEventSource.Info(this, $"Equals({this},{other}) returns {flag}", "Equals");
33 }
34 return flag;
35 }

References System.Net.CredentialHostKey.AuthenticationType, System.Net.CredentialHostKey.Host, System.Net.NetEventSource.Info(), System.Net.NetEventSource.Log, System.other, and System.Net.CredentialHostKey.Port.