diff --git a/src/CSharp/EasyMicroservices.Serialization.Tests/Providers/BinarySerialization/BaseBinarySerializationTest.cs b/src/CSharp/EasyMicroservices.Serialization.Tests/Providers/BinarySerialization/BaseBinarySerializationTest.cs
index 02df198..b898cc9 100644
--- a/src/CSharp/EasyMicroservices.Serialization.Tests/Providers/BinarySerialization/BaseBinarySerializationTest.cs
+++ b/src/CSharp/EasyMicroservices.Serialization.Tests/Providers/BinarySerialization/BaseBinarySerializationTest.cs
@@ -11,12 +11,12 @@ public abstract class BaseBinarySerializationTest
///
/// binary serilaze provider
///
- public IBinarySerialization _provider { get; }
+ public IBinarySerializationProvider _provider { get; }
///
///
///
///
- public BaseBinarySerializationTest(IBinarySerialization provider)
+ public BaseBinarySerializationTest(IBinarySerializationProvider provider)
{
_provider = provider;
}
diff --git a/src/CSharp/EasyMicroservices.Serialization.Tests/Providers/TextSerialization/BaseTextSerializationTest.cs b/src/CSharp/EasyMicroservices.Serialization.Tests/Providers/TextSerialization/BaseTextSerializationTest.cs
index 2796dc1..f00233b 100644
--- a/src/CSharp/EasyMicroservices.Serialization.Tests/Providers/TextSerialization/BaseTextSerializationTest.cs
+++ b/src/CSharp/EasyMicroservices.Serialization.Tests/Providers/TextSerialization/BaseTextSerializationTest.cs
@@ -16,12 +16,12 @@ public abstract class BaseTextSerializationTest
///
/// text serilaze provider
///
- public ITextSerialization _provider { get; }
+ public ITextSerializationProvider _provider { get; }
///
///
///
///
- public BaseTextSerializationTest(ITextSerialization provider)
+ public BaseTextSerializationTest(ITextSerializationProvider provider)
{
_provider = provider;
}
diff --git a/src/CSharp/EasyMicroservices.Serialization/Interfaces/IBaseSerialization.cs b/src/CSharp/EasyMicroservices.Serialization/Interfaces/IBaseSerializationProvider.cs
similarity index 89%
rename from src/CSharp/EasyMicroservices.Serialization/Interfaces/IBaseSerialization.cs
rename to src/CSharp/EasyMicroservices.Serialization/Interfaces/IBaseSerializationProvider.cs
index fb1d867..97956f6 100644
--- a/src/CSharp/EasyMicroservices.Serialization/Interfaces/IBaseSerialization.cs
+++ b/src/CSharp/EasyMicroservices.Serialization/Interfaces/IBaseSerializationProvider.cs
@@ -5,7 +5,7 @@ namespace EasyMicroservices.Serialization.Interfaces
///
/// general serialization method defines here
///
- public interface IBaseSerialization
+ public interface IBaseSerializationProvider
{
///
/// can convert check which type is supported for serialization
diff --git a/src/CSharp/EasyMicroservices.Serialization/Interfaces/IBinarySerialization.cs b/src/CSharp/EasyMicroservices.Serialization/Interfaces/IBinarySerializationProvider.cs
similarity index 88%
rename from src/CSharp/EasyMicroservices.Serialization/Interfaces/IBinarySerialization.cs
rename to src/CSharp/EasyMicroservices.Serialization/Interfaces/IBinarySerializationProvider.cs
index 8c51abb..e5d60ca 100644
--- a/src/CSharp/EasyMicroservices.Serialization/Interfaces/IBinarySerialization.cs
+++ b/src/CSharp/EasyMicroservices.Serialization/Interfaces/IBinarySerializationProvider.cs
@@ -4,7 +4,7 @@ namespace EasyMicroservices.Serialization.Interfaces
///
/// serializa to byte and visa versa
///
- public interface IBinarySerialization : IBaseSerialization
+ public interface IBinarySerializationProvider : IBaseSerializationProvider
{
///
/// serializa to byte array
diff --git a/src/CSharp/EasyMicroservices.Serialization/Interfaces/ITextSerialization.cs b/src/CSharp/EasyMicroservices.Serialization/Interfaces/ITextSerializationProvider.cs
similarity index 88%
rename from src/CSharp/EasyMicroservices.Serialization/Interfaces/ITextSerialization.cs
rename to src/CSharp/EasyMicroservices.Serialization/Interfaces/ITextSerializationProvider.cs
index 8cc9b8c..8fa2e89 100644
--- a/src/CSharp/EasyMicroservices.Serialization/Interfaces/ITextSerialization.cs
+++ b/src/CSharp/EasyMicroservices.Serialization/Interfaces/ITextSerializationProvider.cs
@@ -3,7 +3,7 @@
///
/// serialize to string and visa versa
///
- public interface ITextSerialization : IBaseSerialization
+ public interface ITextSerializationProvider : IBaseSerializationProvider
{
///
/// Serialize to string
diff --git a/src/CSharp/EasyMicroservices.Serialization/Options/SerializationOptionBuilder.cs b/src/CSharp/EasyMicroservices.Serialization/Options/SerializationOptionBuilder.cs
index d6fdeed..c7e2a7e 100644
--- a/src/CSharp/EasyMicroservices.Serialization/Options/SerializationOptionBuilder.cs
+++ b/src/CSharp/EasyMicroservices.Serialization/Options/SerializationOptionBuilder.cs
@@ -8,14 +8,14 @@ namespace EasyMicroservices.Serialization.Options
///
public static class SerializationOptionBuilder
{
- private static Func _binarySerializationFunc;
- private static Func _textSerializationFunc;
+ private static Func _binarySerializationFunc;
+ private static Func _textSerializationFunc;
///
///
///
///
- public static void UseTextSerialization(Func func)
+ public static void UseTextSerialization(Func func)
{
if (_textSerializationFunc != null)
throw new Exception("You set UseTextSerialization once.");
@@ -26,7 +26,7 @@ public static void UseTextSerialization(Func func)
///
///
///
- public static void UseBinarySerialization(Func func)
+ public static void UseBinarySerialization(Func func)
{
if (_binarySerializationFunc != null)
throw new Exception("You set UseBinarySerialization once.");
@@ -39,7 +39,7 @@ public static void UseBinarySerialization(Func func)
///
///
///
- public static ITextSerialization GetTextSerialization()
+ public static ITextSerializationProvider GetTextSerialization()
{
if (_textSerializationFunc == null)
throw new Exception("You did not set UseTextSerialization.");
@@ -51,7 +51,7 @@ public static ITextSerialization GetTextSerialization()
///
///
///
- public static IBinarySerialization GetBinarySerialization()
+ public static IBinarySerializationProvider GetBinarySerialization()
{
if (_binarySerializationFunc != null)
throw new Exception("You did not set UseBinarySerialization.");
diff --git a/src/CSharp/EasyMicroservices.Serialization/Providers/BaseProvider.cs b/src/CSharp/EasyMicroservices.Serialization/Providers/BaseProvider.cs
index 2fc1194..806ea49 100644
--- a/src/CSharp/EasyMicroservices.Serialization/Providers/BaseProvider.cs
+++ b/src/CSharp/EasyMicroservices.Serialization/Providers/BaseProvider.cs
@@ -7,7 +7,7 @@ namespace EasyMicroservices.Serialization.Providers
///
/// general serialization method defines here
///
- public abstract class BaseProvider : IBaseSerialization
+ public abstract class BaseProvider : IBaseSerializationProvider
{
///
/// can convert check which type is supported for serialization
diff --git a/src/CSharp/EasyMicroservices.Serialization/Providers/BinarySerializationBaseProvider.cs b/src/CSharp/EasyMicroservices.Serialization/Providers/BinarySerializationBaseProvider.cs
index 3d9d389..161c639 100644
--- a/src/CSharp/EasyMicroservices.Serialization/Providers/BinarySerializationBaseProvider.cs
+++ b/src/CSharp/EasyMicroservices.Serialization/Providers/BinarySerializationBaseProvider.cs
@@ -6,7 +6,7 @@ namespace EasyMicroservices.Serialization.Providers
///
/// base binary implimentaion
///
- public abstract class BinarySerializationBaseProvider : BaseProvider, IBinarySerialization
+ public abstract class BinarySerializationBaseProvider : BaseProvider, IBinarySerializationProvider
{
///
/// Deserialize from byte
diff --git a/src/CSharp/EasyMicroservices.Serialization/Providers/TextSerializationBaseProvider.cs b/src/CSharp/EasyMicroservices.Serialization/Providers/TextSerializationBaseProvider.cs
index 95be91a..bb23e54 100644
--- a/src/CSharp/EasyMicroservices.Serialization/Providers/TextSerializationBaseProvider.cs
+++ b/src/CSharp/EasyMicroservices.Serialization/Providers/TextSerializationBaseProvider.cs
@@ -6,7 +6,7 @@ namespace EasyMicroservices.Serialization.Providers
///
/// base string implimentaion
///
- public abstract class TextSerializationBaseProvider : BaseProvider, ITextSerialization
+ public abstract class TextSerializationBaseProvider : BaseProvider, ITextSerializationProvider
{
///