private IAction CreateActionInstance(IActionFactory factory) { try { return(factory.Build()); } catch (Exception exception) { logger.Warn($"Error on action instanciation.", factory, exception); return(null); } }