1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2026-02-16 22:23:54 +00:00
This commit is contained in:
Jkorf 2025-11-28 14:09:47 +01:00
parent 0f64aa5cb6
commit e9c7e53e1b

View File

@ -52,7 +52,7 @@ namespace CryptoExchange.Net.Objects.Sockets
/// <inheritdoc /> /// <inheritdoc />
public override string ToString() public override string ToString()
{ {
return $"{StreamId} - {(Symbol == null ? "" : (Symbol + " - "))}{(UpdateType == null ? "" : (UpdateType + " - "))}"; return $"{StreamId} - {(Symbol == null ? "" : (Symbol + " - "))}{UpdateType}";
} }
} }
@ -127,5 +127,8 @@ namespace CryptoExchange.Net.Objects.Sockets
DataTime = DataTime DataTime = DataTime
}; };
} }
/// <inheritdoc />
public override string ToString() => base.ToString().TrimEnd('-') + Data?.ToString();
} }
} }