GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat(infra): created CommandResponse class
Larsa49ca0f74730
diff --git a/LarsWM.Infrastructure/Bussing/CommandResponse.cs b/LarsWM.Infrastructure/Bussing/CommandResponse.csnew file mode 100644index 00000000..64306cf5--- /dev/null+++ b/LarsWM.Infrastructure/Bussing/CommandResponse.cs@@ -0,0 +1,20 @@+using System;++namespace LarsWM.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 CommandResponse(Boolean success = false, Guid aggregateId = default)+ {+ Success = success;+ AggregateId = aggregateId;+ Description = String.Empty;+ }+ }+}