Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

refactor(infra): remove unused properties from `CommandResponse`

Lars Bergerf092c15a53bb
diff --git a/GlazeWM.Infrastructure/Bussing/CommandResponse.cs b/GlazeWM.Infrastructure/Bussing/CommandResponse.cs
index ea9b5d14..f9f68015 100644
--- a/GlazeWM.Infrastructure/Bussing/CommandResponse.cs
+++ b/GlazeWM.Infrastructure/Bussing/CommandResponse.cs
@@ -5,16 +5,12 @@ namespace GlazeWM.Infrastructure.Bussing
public class CommandResponse
{
public Boolean Success { get; private set; }
- public Guid AggregateId { get; private set; }
- public string Description { get; private set; }
-
public static CommandResponse Ok = new CommandResponse { Success = true };
+ public static CommandResponse Fail = new CommandResponse { Success = false };
- public CommandResponse(Boolean success = false, Guid aggregateId = default)
+ public CommandResponse(Boolean success = false)
{
Success = success;
- AggregateId = aggregateId;
- Description = String.Empty;
}
}
}