//private static readonly ILog log = LogManager.GetLogger(typeof(AssignmentExpressionResolver)); public IActor SelectActor(IAssignmentContext assignmentContext) { IActor actor = null; string expression = (string)assignmentContext.Configuration["expression"]; try { actor = actorExpressionResolver.ResolveArgument(expression, assignmentContext); } catch (Exception e) { //log.Error("error selecting an actor :", e); throw new SystemException(e.Message); } return(actor); }
public String SelectActor(IAssignmentContext assignmentContext) { String actorId = null; String expression = (String)assignmentContext.GetConfiguration()["expression"]; try { IActor actor = _actorExpressionResolver.ResolveArgument(expression, assignmentContext); if (actor != null) { actorId = actor.Id; } } catch (Exception e) { log.Error("error selecting an actor :", e); throw new SystemException(e.Message); } return(actorId); }
public String SelectActor(IAssignmentContext assignmentContext) { String actorId = null; String expression = (String) assignmentContext.GetConfiguration()["expression"]; try { IActor actor = _actorExpressionResolver.ResolveArgument(expression, assignmentContext); if (actor != null) { actorId = actor.Id; } } catch (Exception e) { log.Error("error selecting an actor :", e); throw new SystemException(e.Message); } return actorId; }
public LoadService(IAssignmentContext context) { _context = context; }
public String SelectActor(IAssignmentContext assignerContext) { String actor = (String)assignerContext.GetConfiguration()["actor"]; return(actor); }
public String SelectActor(IAssignmentContext assignerContext) { String actor = (String) assignerContext.GetConfiguration()["actor"]; return actor; }
public UpdateService(IAssignmentContext context) { _context = context; }