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