diff --git a/CHANGELOG.md b/CHANGELOG.md index b01b6f3..6c30d6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [1.8.0] / 2024-09-26 ### Features - Support `IJsonService` to use `NewtonsoftJsonService` if available. +### Updated +- Update namespace to `ricaun.NamedPipeWrapper`. +- Update package to `ricaun.NamedPipeWrapper.Json`. ### Removed - Remove `Newtonsoft.Json` reference. diff --git a/ExampleCLI/MyClient.cs b/ExampleCLI/MyClient.cs index b1e8044..d2ecb01 100644 --- a/ExampleCLI/MyClient.cs +++ b/ExampleCLI/MyClient.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Linq; using System.Text; -using NamedPipeWrapper; +using ricaun.NamedPipeWrapper; namespace ExampleCLI { diff --git a/ExampleCLI/MyServer.cs b/ExampleCLI/MyServer.cs index 2f6ccee..e794286 100644 --- a/ExampleCLI/MyServer.cs +++ b/ExampleCLI/MyServer.cs @@ -1,5 +1,5 @@ using System; -using NamedPipeWrapper; +using ricaun.NamedPipeWrapper; namespace ExampleCLI { diff --git a/ExampleGUI/FormClient.cs b/ExampleGUI/FormClient.cs index 2c9423f..977ac2f 100644 --- a/ExampleGUI/FormClient.cs +++ b/ExampleGUI/FormClient.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Windows.Forms; -using NamedPipeWrapper; +using ricaun.NamedPipeWrapper; namespace ExampleGUI { diff --git a/ExampleGUI/FormServer.cs b/ExampleGUI/FormServer.cs index d9f0b9d..3ff2978 100644 --- a/ExampleGUI/FormServer.cs +++ b/ExampleGUI/FormServer.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Windows.Forms; -using NamedPipeWrapper; +using ricaun.NamedPipeWrapper; namespace ExampleGUI { diff --git a/NamedPipeWrapper/IO/PipeStreamReader.cs b/NamedPipeWrapper/IO/PipeStreamReader.cs index 300b2cc..558ec7e 100644 --- a/NamedPipeWrapper/IO/PipeStreamReader.cs +++ b/NamedPipeWrapper/IO/PipeStreamReader.cs @@ -1,4 +1,4 @@ -using NamedPipeWrapper.Json; +using ricaun.NamedPipeWrapper.Json; using System; using System.Collections.Generic; using System.IO; @@ -8,7 +8,7 @@ using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; -namespace NamedPipeWrapper.IO +namespace ricaun.NamedPipeWrapper.IO { /// /// Wraps a object and reads from it. Deserializes binary data sent by a diff --git a/NamedPipeWrapper/IO/PipeStreamWrapper.cs b/NamedPipeWrapper/IO/PipeStreamWrapper.cs index 2f1c6f3..ea154de 100644 --- a/NamedPipeWrapper/IO/PipeStreamWrapper.cs +++ b/NamedPipeWrapper/IO/PipeStreamWrapper.cs @@ -6,7 +6,7 @@ using System.Runtime.Serialization; using System.Text; -namespace NamedPipeWrapper.IO +namespace ricaun.NamedPipeWrapper.IO { /// /// Wraps a object to read and write .NET CLR objects. diff --git a/NamedPipeWrapper/IO/PipeStreamWriter.cs b/NamedPipeWrapper/IO/PipeStreamWriter.cs index 921492e..f3d97c1 100644 --- a/NamedPipeWrapper/IO/PipeStreamWriter.cs +++ b/NamedPipeWrapper/IO/PipeStreamWriter.cs @@ -1,4 +1,4 @@ -using NamedPipeWrapper.Json; +using ricaun.NamedPipeWrapper.Json; using System; using System.Collections.Generic; using System.IO; @@ -8,7 +8,7 @@ using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; -namespace NamedPipeWrapper.IO +namespace ricaun.NamedPipeWrapper.IO { /// /// Wraps a object and writes to it. Serializes .NET CLR objects specified by diff --git a/NamedPipeWrapper/Json/IJsonFormatter.cs b/NamedPipeWrapper/Json/IJsonFormatter.cs index 089cae2..cef12b3 100644 --- a/NamedPipeWrapper/Json/IJsonFormatter.cs +++ b/NamedPipeWrapper/Json/IJsonFormatter.cs @@ -1,6 +1,6 @@ using System.IO; -namespace NamedPipeWrapper.Json +namespace ricaun.NamedPipeWrapper.Json { /// /// IJsonFormatter diff --git a/NamedPipeWrapper/Json/IJsonService.cs b/NamedPipeWrapper/Json/IJsonService.cs index 47c1b9f..462abc1 100644 --- a/NamedPipeWrapper/Json/IJsonService.cs +++ b/NamedPipeWrapper/Json/IJsonService.cs @@ -1,4 +1,4 @@ -namespace NamedPipeWrapper.Json +namespace ricaun.NamedPipeWrapper.Json { /// /// Represents a service for JSON serialization and deserialization. diff --git a/NamedPipeWrapper/Json/Json/JsonService.cs b/NamedPipeWrapper/Json/Json/JsonService.cs index d7eaa25..45fa2f2 100644 --- a/NamedPipeWrapper/Json/Json/JsonService.cs +++ b/NamedPipeWrapper/Json/Json/JsonService.cs @@ -1,4 +1,4 @@ -namespace NamedPipeWrapper.Json.Json +namespace ricaun.NamedPipeWrapper.Json.Json { #if NETFRAMEWORK using System.Web.Script.Serialization; diff --git a/NamedPipeWrapper/Json/Json/NewtonsoftJsonService.cs b/NamedPipeWrapper/Json/Json/NewtonsoftJsonService.cs index bd1c7bc..dabe68f 100644 --- a/NamedPipeWrapper/Json/Json/NewtonsoftJsonService.cs +++ b/NamedPipeWrapper/Json/Json/NewtonsoftJsonService.cs @@ -1,4 +1,4 @@ -namespace NamedPipeWrapper.Json.Json +namespace ricaun.NamedPipeWrapper.Json.Json { internal class NewtonsoftJsonService : IJsonService { diff --git a/NamedPipeWrapper/Json/JsonExtension.cs b/NamedPipeWrapper/Json/JsonExtension.cs index aa40682..4a4e651 100644 --- a/NamedPipeWrapper/Json/JsonExtension.cs +++ b/NamedPipeWrapper/Json/JsonExtension.cs @@ -1,7 +1,7 @@ -using NamedPipeWrapper.Json.Json; +using ricaun.NamedPipeWrapper.Json.Json; using System; -namespace NamedPipeWrapper.Json +namespace ricaun.NamedPipeWrapper.Json { /// /// JsonExtension diff --git a/NamedPipeWrapper/Json/JsonFormatter.cs b/NamedPipeWrapper/Json/JsonFormatter.cs index 14d3b02..66b44a3 100644 --- a/NamedPipeWrapper/Json/JsonFormatter.cs +++ b/NamedPipeWrapper/Json/JsonFormatter.cs @@ -1,7 +1,7 @@ using System.IO; using System.Text; -namespace NamedPipeWrapper.Json +namespace ricaun.NamedPipeWrapper.Json { /// /// JsonFormatter diff --git a/NamedPipeWrapper/Json/JsonUtils.cs b/NamedPipeWrapper/Json/JsonUtils.cs index fd25132..3742fe6 100644 --- a/NamedPipeWrapper/Json/JsonUtils.cs +++ b/NamedPipeWrapper/Json/JsonUtils.cs @@ -1,6 +1,6 @@ using Newtonsoft.Json; -namespace NamedPipeWrapper.Json +namespace ricaun.NamedPipeWrapper.Json { /// /// JsonUtils diff --git a/NamedPipeWrapper/NamedPipeClient.cs b/NamedPipeWrapper/NamedPipeClient.cs index 8d759ad..9707393 100644 --- a/NamedPipeWrapper/NamedPipeClient.cs +++ b/NamedPipeWrapper/NamedPipeClient.cs @@ -1,5 +1,5 @@ -using NamedPipeWrapper.IO; -using NamedPipeWrapper.Threading; +using ricaun.NamedPipeWrapper.IO; +using ricaun.NamedPipeWrapper.Threading; using System; using System.Collections.Generic; using System.IO.Pipes; @@ -7,7 +7,7 @@ using System.Text; using System.Threading; -namespace NamedPipeWrapper +namespace ricaun.NamedPipeWrapper { /// /// Wraps a . diff --git a/NamedPipeWrapper/NamedPipeConnection.cs b/NamedPipeWrapper/NamedPipeConnection.cs index 1894718..48e1c12 100644 --- a/NamedPipeWrapper/NamedPipeConnection.cs +++ b/NamedPipeWrapper/NamedPipeConnection.cs @@ -5,11 +5,11 @@ using System.Runtime.Serialization; using System.Text; using System.Threading; -using NamedPipeWrapper.IO; -using NamedPipeWrapper.Threading; +using ricaun.NamedPipeWrapper.IO; +using ricaun.NamedPipeWrapper.Threading; using System.Collections.Concurrent; -namespace NamedPipeWrapper +namespace ricaun.NamedPipeWrapper { /// /// Represents a connection between a named pipe client and server. diff --git a/NamedPipeWrapper/NamedPipeServer.cs b/NamedPipeWrapper/NamedPipeServer.cs index dd9fb72..e8d1b6b 100644 --- a/NamedPipeWrapper/NamedPipeServer.cs +++ b/NamedPipeWrapper/NamedPipeServer.cs @@ -1,10 +1,10 @@ -using NamedPipeWrapper.IO; -using NamedPipeWrapper.Threading; +using ricaun.NamedPipeWrapper.IO; +using ricaun.NamedPipeWrapper.Threading; using System; using System.Collections.Generic; using System.IO.Pipes; -namespace NamedPipeWrapper +namespace ricaun.NamedPipeWrapper { /// /// NamedPipeServer diff --git a/NamedPipeWrapper/NamedPipeUtils.cs b/NamedPipeWrapper/NamedPipeUtils.cs index bb23b59..dc5d9c8 100644 --- a/NamedPipeWrapper/NamedPipeUtils.cs +++ b/NamedPipeWrapper/NamedPipeUtils.cs @@ -1,6 +1,6 @@ -using NamedPipeWrapper; +using ricaun.NamedPipeWrapper; -namespace NamedPipeWrapper +namespace ricaun.NamedPipeWrapper { /// /// NamedPipeUtils diff --git a/NamedPipeWrapper/NamedPipeWrapper.csproj b/NamedPipeWrapper/NamedPipeWrapper.csproj index ebcc75c..c94a534 100644 --- a/NamedPipeWrapper/NamedPipeWrapper.csproj +++ b/NamedPipeWrapper/NamedPipeWrapper.csproj @@ -30,8 +30,8 @@ - NamedPipeWrapper.Json - 1.8.0-alpha + ricaun.NamedPipeWrapper.Json + 1.8.0-beta {73152691-3CDE-46DF-8D04-7117747DFFE7} diff --git a/NamedPipeWrapper/PipeExceptionEventHandler.cs b/NamedPipeWrapper/PipeExceptionEventHandler.cs index eb5fb3a..f25fb85 100644 --- a/NamedPipeWrapper/PipeExceptionEventHandler.cs +++ b/NamedPipeWrapper/PipeExceptionEventHandler.cs @@ -1,6 +1,6 @@ using System; -namespace NamedPipeWrapper +namespace ricaun.NamedPipeWrapper { /// /// Handles exceptions thrown during a read or write operation on a named pipe. diff --git a/NamedPipeWrapper/Threading/Worker.cs b/NamedPipeWrapper/Threading/Worker.cs index 8d9b71b..50b5c76 100644 --- a/NamedPipeWrapper/Threading/Worker.cs +++ b/NamedPipeWrapper/Threading/Worker.cs @@ -5,7 +5,7 @@ using System.Threading; using System.Threading.Tasks; -namespace NamedPipeWrapper.Threading +namespace ricaun.NamedPipeWrapper.Threading { class Worker { diff --git a/UnitTests/DataTests.cs b/UnitTests/DataTests.cs index 44a90d6..b1873f0 100644 --- a/UnitTests/DataTests.cs +++ b/UnitTests/DataTests.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading; using NUnit.Framework; -using NamedPipeWrapper; +using ricaun.NamedPipeWrapper; using log4net.Appender; using log4net.Config; using log4net.Layout; diff --git a/UnitTests/JsonTests.cs b/UnitTests/JsonTests.cs index 53d578b..1bde52c 100644 --- a/UnitTests/JsonTests.cs +++ b/UnitTests/JsonTests.cs @@ -1,5 +1,5 @@ -using NamedPipeWrapper; -using NamedPipeWrapper.Json; +using ricaun.NamedPipeWrapper; +using ricaun.NamedPipeWrapper.Json; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/UnitTests/SerializableTests.cs b/UnitTests/SerializableTests.cs index f46d1c9..f4a935d 100644 --- a/UnitTests/SerializableTests.cs +++ b/UnitTests/SerializableTests.cs @@ -1,5 +1,5 @@ -using NamedPipeWrapper; -using NamedPipeWrapper.Json; +using ricaun.NamedPipeWrapper; +using ricaun.NamedPipeWrapper.Json; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/UnitTests/StringClassTests.cs b/UnitTests/StringClassTests.cs index a4bf4f3..213a3d5 100644 --- a/UnitTests/StringClassTests.cs +++ b/UnitTests/StringClassTests.cs @@ -1,4 +1,4 @@ -using NamedPipeWrapper; +using ricaun.NamedPipeWrapper; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/UnitTests/StringTests.cs b/UnitTests/StringTests.cs index 477a2a5..3e6e5cd 100644 --- a/UnitTests/StringTests.cs +++ b/UnitTests/StringTests.cs @@ -1,4 +1,4 @@ -using NamedPipeWrapper; +using ricaun.NamedPipeWrapper; using NUnit.Framework; using System; using System.Collections.Generic;