From 8c24b46fb32408afacea86c9504f4a463fae3c75 Mon Sep 17 00:00:00 2001 From: Jkorf Date: Mon, 3 Jan 2022 11:33:07 +0100 Subject: [PATCH] Fixed typo Comon -> Common --- .../{ComonObjects => CommonObjects}/Balance.cs | 4 ++-- .../{ComonObjects => CommonObjects}/BaseComonObject.cs | 6 +++--- .../{ComonObjects => CommonObjects}/Enums.cs | 2 +- .../{ComonObjects => CommonObjects}/Kline.cs | 4 ++-- .../{ComonObjects => CommonObjects}/Order.cs | 4 ++-- .../{ComonObjects => CommonObjects}/OrderBook.cs | 4 ++-- .../{ComonObjects => CommonObjects}/OrderBookEntry.cs | 2 +- .../{ComonObjects => CommonObjects}/OrderId.cs | 4 ++-- .../{ComonObjects => CommonObjects}/Position.cs | 4 ++-- .../{ComonObjects => CommonObjects}/Symbol.cs | 4 ++-- .../{ComonObjects => CommonObjects}/Ticker.cs | 4 ++-- .../{ComonObjects => CommonObjects}/Trade.cs | 4 ++-- CryptoExchange.Net/Interfaces/ISpotClient.cs | 10 +++++----- 13 files changed, 28 insertions(+), 28 deletions(-) rename CryptoExchange.Net/{ComonObjects => CommonObjects}/Balance.cs (83%) rename CryptoExchange.Net/{ComonObjects => CommonObjects}/BaseComonObject.cs (64%) rename CryptoExchange.Net/{ComonObjects => CommonObjects}/Enums.cs (97%) rename CryptoExchange.Net/{ComonObjects => CommonObjects}/Kline.cs (91%) rename CryptoExchange.Net/{ComonObjects => CommonObjects}/Order.cs (93%) rename CryptoExchange.Net/{ComonObjects => CommonObjects}/OrderBook.cs (84%) rename CryptoExchange.Net/{ComonObjects => CommonObjects}/OrderBookEntry.cs (88%) rename CryptoExchange.Net/{ComonObjects => CommonObjects}/OrderId.cs (76%) rename CryptoExchange.Net/{ComonObjects => CommonObjects}/Position.cs (95%) rename CryptoExchange.Net/{ComonObjects => CommonObjects}/Symbol.cs (91%) rename CryptoExchange.Net/{ComonObjects => CommonObjects}/Ticker.cs (90%) rename CryptoExchange.Net/{ComonObjects => CommonObjects}/Trade.cs (93%) diff --git a/CryptoExchange.Net/ComonObjects/Balance.cs b/CryptoExchange.Net/CommonObjects/Balance.cs similarity index 83% rename from CryptoExchange.Net/ComonObjects/Balance.cs rename to CryptoExchange.Net/CommonObjects/Balance.cs index b52b9c6..696a35c 100644 --- a/CryptoExchange.Net/ComonObjects/Balance.cs +++ b/CryptoExchange.Net/CommonObjects/Balance.cs @@ -1,9 +1,9 @@ -namespace CryptoExchange.Net.ComonObjects +namespace CryptoExchange.Net.CommonObjects { /// /// Balance data /// - public class Balance: BaseComonObject + public class Balance: BaseCommonObject { /// /// The asset name diff --git a/CryptoExchange.Net/ComonObjects/BaseComonObject.cs b/CryptoExchange.Net/CommonObjects/BaseComonObject.cs similarity index 64% rename from CryptoExchange.Net/ComonObjects/BaseComonObject.cs rename to CryptoExchange.Net/CommonObjects/BaseComonObject.cs index ee34d63..88bf356 100644 --- a/CryptoExchange.Net/ComonObjects/BaseComonObject.cs +++ b/CryptoExchange.Net/CommonObjects/BaseComonObject.cs @@ -1,9 +1,9 @@ -namespace CryptoExchange.Net.ComonObjects +namespace CryptoExchange.Net.CommonObjects { /// - /// Base class for comon objects + /// Base class for common objects /// - public class BaseComonObject + public class BaseCommonObject { /// /// The source object the data is derived from diff --git a/CryptoExchange.Net/ComonObjects/Enums.cs b/CryptoExchange.Net/CommonObjects/Enums.cs similarity index 97% rename from CryptoExchange.Net/ComonObjects/Enums.cs rename to CryptoExchange.Net/CommonObjects/Enums.cs index 998c157..2ea6b4b 100644 --- a/CryptoExchange.Net/ComonObjects/Enums.cs +++ b/CryptoExchange.Net/CommonObjects/Enums.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Text; -namespace CryptoExchange.Net.ComonObjects +namespace CryptoExchange.Net.CommonObjects { /// /// Order type diff --git a/CryptoExchange.Net/ComonObjects/Kline.cs b/CryptoExchange.Net/CommonObjects/Kline.cs similarity index 91% rename from CryptoExchange.Net/ComonObjects/Kline.cs rename to CryptoExchange.Net/CommonObjects/Kline.cs index 5a90c76..ae01746 100644 --- a/CryptoExchange.Net/ComonObjects/Kline.cs +++ b/CryptoExchange.Net/CommonObjects/Kline.cs @@ -1,11 +1,11 @@ using System; -namespace CryptoExchange.Net.ComonObjects +namespace CryptoExchange.Net.CommonObjects { /// /// Kline data /// - public class Kline: BaseComonObject + public class Kline: BaseCommonObject { /// /// Opening time of the kline diff --git a/CryptoExchange.Net/ComonObjects/Order.cs b/CryptoExchange.Net/CommonObjects/Order.cs similarity index 93% rename from CryptoExchange.Net/ComonObjects/Order.cs rename to CryptoExchange.Net/CommonObjects/Order.cs index a8743cd..7a77aa7 100644 --- a/CryptoExchange.Net/ComonObjects/Order.cs +++ b/CryptoExchange.Net/CommonObjects/Order.cs @@ -1,11 +1,11 @@ using System; -namespace CryptoExchange.Net.ComonObjects +namespace CryptoExchange.Net.CommonObjects { /// /// Order data /// - public class Order: BaseComonObject + public class Order: BaseCommonObject { /// /// Id of the order diff --git a/CryptoExchange.Net/ComonObjects/OrderBook.cs b/CryptoExchange.Net/CommonObjects/OrderBook.cs similarity index 84% rename from CryptoExchange.Net/ComonObjects/OrderBook.cs rename to CryptoExchange.Net/CommonObjects/OrderBook.cs index 621e154..31f714d 100644 --- a/CryptoExchange.Net/ComonObjects/OrderBook.cs +++ b/CryptoExchange.Net/CommonObjects/OrderBook.cs @@ -2,12 +2,12 @@ using System.Collections.Generic; using System.Text; -namespace CryptoExchange.Net.ComonObjects +namespace CryptoExchange.Net.CommonObjects { /// /// Order book data /// - public class OrderBook: BaseComonObject + public class OrderBook: BaseCommonObject { /// /// List of bids diff --git a/CryptoExchange.Net/ComonObjects/OrderBookEntry.cs b/CryptoExchange.Net/CommonObjects/OrderBookEntry.cs similarity index 88% rename from CryptoExchange.Net/ComonObjects/OrderBookEntry.cs rename to CryptoExchange.Net/CommonObjects/OrderBookEntry.cs index 96d2e93..3384f41 100644 --- a/CryptoExchange.Net/ComonObjects/OrderBookEntry.cs +++ b/CryptoExchange.Net/CommonObjects/OrderBookEntry.cs @@ -1,4 +1,4 @@ -namespace CryptoExchange.Net.ComonObjects +namespace CryptoExchange.Net.CommonObjects { /// /// Order book entry diff --git a/CryptoExchange.Net/ComonObjects/OrderId.cs b/CryptoExchange.Net/CommonObjects/OrderId.cs similarity index 76% rename from CryptoExchange.Net/ComonObjects/OrderId.cs rename to CryptoExchange.Net/CommonObjects/OrderId.cs index 8e3e74f..2827a0e 100644 --- a/CryptoExchange.Net/ComonObjects/OrderId.cs +++ b/CryptoExchange.Net/CommonObjects/OrderId.cs @@ -2,12 +2,12 @@ using System.Collections.Generic; using System.Text; -namespace CryptoExchange.Net.ComonObjects +namespace CryptoExchange.Net.CommonObjects { /// /// Id of an order /// - public class OrderId: BaseComonObject + public class OrderId: BaseCommonObject { /// /// Id of an order diff --git a/CryptoExchange.Net/ComonObjects/Position.cs b/CryptoExchange.Net/CommonObjects/Position.cs similarity index 95% rename from CryptoExchange.Net/ComonObjects/Position.cs rename to CryptoExchange.Net/CommonObjects/Position.cs index 09d6609..cc4bbd1 100644 --- a/CryptoExchange.Net/ComonObjects/Position.cs +++ b/CryptoExchange.Net/CommonObjects/Position.cs @@ -1,9 +1,9 @@ -namespace CryptoExchange.Net.ComonObjects +namespace CryptoExchange.Net.CommonObjects { /// /// Position data /// - public class Position: BaseComonObject + public class Position: BaseCommonObject { /// /// Id of the position diff --git a/CryptoExchange.Net/ComonObjects/Symbol.cs b/CryptoExchange.Net/CommonObjects/Symbol.cs similarity index 91% rename from CryptoExchange.Net/ComonObjects/Symbol.cs rename to CryptoExchange.Net/CommonObjects/Symbol.cs index ee4b28e..21fcea6 100644 --- a/CryptoExchange.Net/ComonObjects/Symbol.cs +++ b/CryptoExchange.Net/CommonObjects/Symbol.cs @@ -1,9 +1,9 @@ -namespace CryptoExchange.Net.ComonObjects +namespace CryptoExchange.Net.CommonObjects { /// /// Symbol data /// - public class Symbol: BaseComonObject + public class Symbol: BaseCommonObject { /// /// Name of the symbol diff --git a/CryptoExchange.Net/ComonObjects/Ticker.cs b/CryptoExchange.Net/CommonObjects/Ticker.cs similarity index 90% rename from CryptoExchange.Net/ComonObjects/Ticker.cs rename to CryptoExchange.Net/CommonObjects/Ticker.cs index f9c2889..e5c527a 100644 --- a/CryptoExchange.Net/ComonObjects/Ticker.cs +++ b/CryptoExchange.Net/CommonObjects/Ticker.cs @@ -1,11 +1,11 @@ using System; -namespace CryptoExchange.Net.ComonObjects +namespace CryptoExchange.Net.CommonObjects { /// /// Ticker data /// - public class Ticker: BaseComonObject + public class Ticker: BaseCommonObject { /// /// Symbol diff --git a/CryptoExchange.Net/ComonObjects/Trade.cs b/CryptoExchange.Net/CommonObjects/Trade.cs similarity index 93% rename from CryptoExchange.Net/ComonObjects/Trade.cs rename to CryptoExchange.Net/CommonObjects/Trade.cs index a493a91..ea15d9c 100644 --- a/CryptoExchange.Net/ComonObjects/Trade.cs +++ b/CryptoExchange.Net/CommonObjects/Trade.cs @@ -1,11 +1,11 @@ using System; -namespace CryptoExchange.Net.ComonObjects +namespace CryptoExchange.Net.CommonObjects { /// /// Trade data /// - public class Trade: BaseComonObject + public class Trade: BaseCommonObject { /// /// Symbol of the trade diff --git a/CryptoExchange.Net/Interfaces/ISpotClient.cs b/CryptoExchange.Net/Interfaces/ISpotClient.cs index 84910ea..2ea54ec 100644 --- a/CryptoExchange.Net/Interfaces/ISpotClient.cs +++ b/CryptoExchange.Net/Interfaces/ISpotClient.cs @@ -1,4 +1,4 @@ -using CryptoExchange.Net.ComonObjects; +using CryptoExchange.Net.CommonObjects; using CryptoExchange.Net.Objects; using System; using System.Collections.Generic; @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace CryptoExchange.Net.Interfaces { /// - /// Comon rest client endpoints + /// Common rest client endpoints /// public interface IBaseRestClient { @@ -68,7 +68,7 @@ namespace CryptoExchange.Net.Interfaces /// /// The symbol to get the book for /// - Task> GetOrderBookAsync(string symbol); + Task> GetOrderBookAsync(string symbol); /// /// The recent trades for a symbol @@ -124,7 +124,7 @@ namespace CryptoExchange.Net.Interfaces } /// - /// Comon futures endpoints + /// Common futures endpoints /// public interface IFuturesClient: IBaseRestClient { @@ -149,7 +149,7 @@ namespace CryptoExchange.Net.Interfaces } /// - /// Comon spot endpoints + /// Common spot endpoints /// public interface ISpotClient: IBaseRestClient {