private void GraphParameterValue_OnGraphParameterUpdate(GraphParameterValue param) { if (GraphInst != null) { if (GraphInst.Parameters.Values.Contains(param) || GraphInst.CustomParameters.Contains(param)) { GraphInst.TryAndProcess(); } } }
public override Task GetTask() { return(Task.Factory.StartNew(() => { PrepareProcess(); }) .ContinueWith(t => { if (GraphInst != null) { GraphInst.TryAndProcess(); } }, Context)); }
public override void TryAndProcess() { if (!Async) { PrepareProcess(); if (GraphInst != null) { GraphInst.TryAndProcess(); } return; } if (ParentGraph != null) { ParentGraph.Schedule(this); } }