public static void Validate(this UnAssignStrategyCommand command)
 {
     command.Required(nameof(command));
     command.Name.Required(nameof(command.Name));
     command.StrategyName.Required(nameof(command.StrategyName));
     command.UnassignedBy.Required(nameof(command.UnassignedBy));
 }
 public static StrategyUnAssignedEvent ExtractStrategyUnassignedEvent(
     this UnAssignStrategyCommand command,
     ISystemClock clock)
 {
     return(new StrategyUnAssignedEvent
     {
         Name = command.Name,
         Path = command.Path,
         UnassignedBy = command.UnassignedBy,
         UnassignedOn = clock.UtcNow,
         StrategyName = command.StrategyName
     });
 }