public override NodeResult Run() { if (!Origins.Any()) return NodeResult.Success; BasicNodesEvaluator nodesEvaluator = new BasicNodesEvaluator(); foreach (Origin origin in Origins) nodesEvaluator.Nodes.Add(origin); return nodesEvaluator.Evaluate(); }
public override NodeResult Run() { if (!Origins.Any()) { return(NodeResult.Success); } BasicNodesEvaluator nodesEvaluator = new BasicNodesEvaluator(); foreach (Origin origin in Origins) { nodesEvaluator.Nodes.Add(origin); } return(nodesEvaluator.Evaluate()); }