public void Execute(TCommand command) { innerHandler.Execute(command); var logCommand = new LogCommand { LogMessage = command.Message, Time = DateTime.Now }; logger.Execute(logCommand); }