1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-06-08 08:26:20 +00:00

Cleaned some now unused classes

This commit is contained in:
Jan Korf 2020-06-05 20:50:54 +02:00
parent c60131d464
commit 5a33bd554e
3 changed files with 4 additions and 74 deletions

View File

@ -1662,41 +1662,6 @@
<member name="M:CryptoExchange.Net.Objects.SocketClientOptions.ToString"> <member name="M:CryptoExchange.Net.Objects.SocketClientOptions.ToString">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="T:CryptoExchange.Net.OrderBook.ProcessBufferEntry">
<summary>
Buffer entry for order book
</summary>
</member>
<member name="P:CryptoExchange.Net.OrderBook.ProcessBufferEntry.Asks">
<summary>
List of asks
</summary>
</member>
<member name="P:CryptoExchange.Net.OrderBook.ProcessBufferEntry.Bids">
<summary>
List of bids
</summary>
</member>
<member name="T:CryptoExchange.Net.OrderBook.ProcessBufferSingleSequenceEntry">
<summary>
Buffer entry with a single update id per update
</summary>
</member>
<member name="P:CryptoExchange.Net.OrderBook.ProcessBufferSingleSequenceEntry.UpdateId">
<summary>
First update id
</summary>
</member>
<member name="P:CryptoExchange.Net.OrderBook.ProcessBufferSingleSequenceEntry.Asks">
<summary>
List of asks
</summary>
</member>
<member name="P:CryptoExchange.Net.OrderBook.ProcessBufferSingleSequenceEntry.Bids">
<summary>
List of bids
</summary>
</member>
<member name="T:CryptoExchange.Net.OrderBook.ProcessBufferRangeSequenceEntry"> <member name="T:CryptoExchange.Net.OrderBook.ProcessBufferRangeSequenceEntry">
<summary> <summary>
Buffer entry with a first and last update id Buffer entry with a first and last update id
@ -2944,9 +2909,7 @@
<member name="M:CryptoExchange.Net.Sockets.WebsocketFactory.CreateWebsocket(CryptoExchange.Net.Logging.Log,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Collections.Generic.IDictionary{System.String,System.String})"> <member name="M:CryptoExchange.Net.Sockets.WebsocketFactory.CreateWebsocket(CryptoExchange.Net.Logging.Log,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Collections.Generic.IDictionary{System.String,System.String})">
<inheritdoc /> <inheritdoc />
</member> </member>
</members> <member name="T:System.Diagnostics.CodeAnalysis.AllowNullAttribute">
</doc>
System.Diagnostics.CodeAnalysis.AllowNullAttribute">
<summary> <summary>
Specifies that <see langword="null"/> is allowed as an input even if the Specifies that <see langword="null"/> is allowed as an input even if the
corresponding type disallows it. corresponding type disallows it.

View File

@ -3,40 +3,6 @@ using System.Collections.Generic;
namespace CryptoExchange.Net.OrderBook namespace CryptoExchange.Net.OrderBook
{ {
/// <summary>
/// Buffer entry for order book
/// </summary>
public class ProcessBufferEntry
{
/// <summary>
/// List of asks
/// </summary>
public IEnumerable<ISymbolOrderSequencedBookEntry> Asks { get; set; } = new List<ISymbolOrderSequencedBookEntry>();
/// <summary>
/// List of bids
/// </summary>
public IEnumerable<ISymbolOrderSequencedBookEntry> Bids { get; set; } = new List<ISymbolOrderSequencedBookEntry>();
}
/// <summary>
/// Buffer entry with a single update id per update
/// </summary>
public class ProcessBufferSingleSequenceEntry
{
/// <summary>
/// First update id
/// </summary>
public long UpdateId { get; set; }
/// <summary>
/// List of asks
/// </summary>
public IEnumerable<ISymbolOrderBookEntry> Asks { get; set; } = new List<ISymbolOrderBookEntry>();
/// <summary>
/// List of bids
/// </summary>
public IEnumerable<ISymbolOrderBookEntry> Bids { get; set; } = new List<ISymbolOrderBookEntry>();
}
/// <summary> /// <summary>
/// Buffer entry with a first and last update id /// Buffer entry with a first and last update id
/// </summary> /// </summary>

View File

@ -22,7 +22,6 @@ namespace CryptoExchange.Net.OrderBook
/// The process buffer, used while syncing /// The process buffer, used while syncing
/// </summary> /// </summary>
protected readonly List<ProcessBufferRangeSequenceEntry> processBuffer; protected readonly List<ProcessBufferRangeSequenceEntry> processBuffer;
private readonly object bookLock = new object();
/// <summary> /// <summary>
/// The ask list /// The ask list
/// </summary> /// </summary>
@ -30,8 +29,10 @@ namespace CryptoExchange.Net.OrderBook
/// <summary> /// <summary>
/// The bid list /// The bid list
/// </summary> /// </summary>
protected SortedList<decimal, ISymbolOrderBookEntry> bids; protected SortedList<decimal, ISymbolOrderBookEntry> bids;
private readonly object bookLock = new object();
private OrderBookStatus status; private OrderBookStatus status;
private UpdateSubscription? subscription; private UpdateSubscription? subscription;
private readonly bool sequencesAreConsecutive; private readonly bool sequencesAreConsecutive;