public void Plan(GraphPlanContext context) { foreach (var layer in Outputs) { layer.Plan(context); } }
public void Plan(GraphPlanContext context) { if (!context.Planning.GetValueOrDefault(this)) { context.Planning[this] = true; foreach (var input in _inputConnectors) { input.Connection?.From.Owner.Plan(context); } OnPlanning(context); } }
protected virtual void OnPlanning(GraphPlanContext context) { }