1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-17 11:23:00 +00:00

Fixed various resharper warning

This commit is contained in:
JKorf
2018-11-30 16:19:01 +01:00
parent 4c6218c8e3
commit 64a66d4206
17 changed files with 91 additions and 97 deletions
@@ -5,7 +5,7 @@ namespace CryptoExchange.Net.Sockets
{
public class UpdateSubscription
{
private SocketSubscription subscription;
private readonly SocketSubscription subscription;
/// <summary>
/// Event when the connection is lost
@@ -25,6 +25,9 @@ namespace CryptoExchange.Net.Sockets
remove => subscription.ConnectionRestored -= value;
}
/// <summary>
/// The id of the socket
/// </summary>
public int Id => subscription.Socket.Id;
public UpdateSubscription(SocketSubscription sub)