From 8340ca854fe372809a9dddc4a853968e4aa0e0a6 Mon Sep 17 00:00:00 2001 From: Corniel Nobel Date: Tue, 19 Nov 2024 21:56:02 +0100 Subject: [PATCH] Drop binary serialization support. (#50) --- .gitignore | 20 +------------------ .../AssertionFailed.cs | 10 ---------- .../Commands/UnresolvedCommandHandler.cs | 4 ---- 3 files changed, 1 insertion(+), 33 deletions(-) diff --git a/.gitignore b/.gitignore index 7e51648..3b6193d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,25 +1,7 @@ -# custom additions +# custom additions packages/ .nuget/ -################# -## Eclipse -################# - -*.pydevproject -.project -.metadata -bin/ -tmp/ -*.tmp -*.bak -*.swp -*~.nib -local.properties -.classpath -.settings/ -.loadpath - # External tool builders .externalToolBuilders/ diff --git a/src/Qowaiv.DomainModel.TestTools/AssertionFailed.cs b/src/Qowaiv.DomainModel.TestTools/AssertionFailed.cs index 8bcef8e..16b69a6 100644 --- a/src/Qowaiv.DomainModel.TestTools/AssertionFailed.cs +++ b/src/Qowaiv.DomainModel.TestTools/AssertionFailed.cs @@ -27,14 +27,4 @@ public AssertionFailed(string message) : base(message) { } /// [ExcludeFromCodeCoverage/* Justification = "Required for inheritance only." */] public AssertionFailed(string message, Exception innerException) : base(message, innerException) { } - - /// Initializes a new instance of the class. - /// - /// The object that holds the serialized object data. - /// - /// - /// An object that describes the source or destination of the serialized data. - /// - [ExcludeFromCodeCoverage/* Justification = "Required for inheritance only." */] - protected AssertionFailed(SerializationInfo info, StreamingContext context) : base(info, context) { } } diff --git a/src/Qowaiv.DomainModel/Commands/UnresolvedCommandHandler.cs b/src/Qowaiv.DomainModel/Commands/UnresolvedCommandHandler.cs index 45feada..8d45f85 100644 --- a/src/Qowaiv.DomainModel/Commands/UnresolvedCommandHandler.cs +++ b/src/Qowaiv.DomainModel/Commands/UnresolvedCommandHandler.cs @@ -17,10 +17,6 @@ public UnresolvedCommandHandler(string message) : base(message) { } public UnresolvedCommandHandler(string message, Exception innerException) : base(message, innerException) { } - /// Initializes a new instance of the class. - protected UnresolvedCommandHandler(SerializationInfo info, StreamingContext context) - : base(info, context) { } - /// When the type could not be resolved. [Pure] internal static UnresolvedCommandHandler Type(Type type)