From b6661520df2c713376cdb0e0f0f9637587f1e40d Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Wed, 10 Jan 2018 09:46:03 -0500 Subject: [PATCH] Moving TcpReceiveEventArgs to networking project --- .../EventArguments/TcpReceiveEventArgs.cs | 44 ------------------- .../ICD.Common.Utils_SimplSharp.csproj | 1 - 2 files changed, 45 deletions(-) delete mode 100644 ICD.Common.Utils/EventArguments/TcpReceiveEventArgs.cs diff --git a/ICD.Common.Utils/EventArguments/TcpReceiveEventArgs.cs b/ICD.Common.Utils/EventArguments/TcpReceiveEventArgs.cs deleted file mode 100644 index b6ad35a..0000000 --- a/ICD.Common.Utils/EventArguments/TcpReceiveEventArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace ICD.Common.Utils.EventArguments -{ - public sealed class TcpReceiveEventArgs : EventArgs - { - private readonly uint m_ClientId; - private readonly string m_Data; - - public uint ClientId { get { return m_ClientId; } } - - public string Data { get { return m_Data; } } - - /// - /// Constructor. - /// - /// - /// - public TcpReceiveEventArgs(uint clientId, IEnumerable data) - { - if (data == null) - throw new ArgumentNullException("data"); - - m_ClientId = clientId; - m_Data = StringUtils.ToString(data); - } - - /// - /// Constructor. - /// - /// - /// - /// - public TcpReceiveEventArgs(uint clientId, IEnumerable data, int length) - { - if (data == null) - throw new ArgumentNullException("data"); - - m_ClientId = clientId; - m_Data = StringUtils.ToString(data, length); - } - } -} diff --git a/ICD.Common.Utils/ICD.Common.Utils_SimplSharp.csproj b/ICD.Common.Utils/ICD.Common.Utils_SimplSharp.csproj index 1268405..0bc7c2f 100644 --- a/ICD.Common.Utils/ICD.Common.Utils_SimplSharp.csproj +++ b/ICD.Common.Utils/ICD.Common.Utils_SimplSharp.csproj @@ -79,7 +79,6 @@ -