Browse Source

Remove obsolete constructor of CommandResult (breaking change)

Olivier Coanet 2 năm trước cách đây
mục cha
commit
472c2f63ae
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      src/Abc.Zebus/CommandResult.cs

+ 0 - 6
src/Abc.Zebus/CommandResult.cs

@@ -14,12 +14,6 @@ namespace Abc.Zebus
     /// </remarks>
     public class CommandResult
     {
-        [Obsolete("Use the constructor with the responseMessage parameter")]
-        public CommandResult(int errorCode, object? response)
-            : this(errorCode, null, response)
-        {
-        }
-
         public CommandResult(int errorCode, string? responseMessage, object? response)
         {
             ErrorCode = errorCode;