NetworkConnection.isConnected obsolete

This commit is contained in:
vis2k 2019-02-27 14:32:15 +01:00
parent ffda610f0d
commit 07a5cca725

View File

@ -21,6 +21,7 @@ public class NetworkConnection : IDisposable
// this is always true for regular connections, false for local // this is always true for regular connections, false for local
// connections because it's set in the constructor and never reset. // connections because it's set in the constructor and never reset.
[Obsolete("isConnected will be removed because it's pointless. A NetworkConnection is always connected.")]
public bool isConnected { get; protected set; } public bool isConnected { get; protected set; }
public NetworkConnection(string networkAddress) public NetworkConnection(string networkAddress)