From 7c33b2503d5b20f9b1644cfe47de181d63f69fa7 Mon Sep 17 00:00:00 2001 From: Savorboard Date: Fri, 25 Sep 2020 16:56:02 +0800 Subject: [PATCH] Delete unused file --- .../Serialization/StringSerializer.cs | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/DotNetCore.CAP/Serialization/StringSerializer.cs diff --git a/src/DotNetCore.CAP/Serialization/StringSerializer.cs b/src/DotNetCore.CAP/Serialization/StringSerializer.cs deleted file mode 100644 index 3c96647..0000000 --- a/src/DotNetCore.CAP/Serialization/StringSerializer.cs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) .NET Core Community. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. - -using DotNetCore.CAP.Messages; -using Newtonsoft.Json; - -namespace DotNetCore.CAP.Serialization -{ - public class StringSerializer - { - public static string Serialize(Message message) - { - return JsonConvert.SerializeObject(message); - } - - public static Message DeSerialize(string json) - { - return JsonConvert.DeserializeObject(json); - } - } -} \ No newline at end of file