internal DefaultEngineTask(EngineCore engine, EngineNode adaptor) { Guard.AssertNotNull(engine, "engine"); Guard.AssertNotNull(adaptor, "adaptor"); this.engine = engine; DirtyNode = adaptor; }
public void Bind() { EngineCounters.Initialize(); foreach (var vertex in engineGraph.Vertices) { var node = Builder.CreateNode(vertex); var nodeName = node.Name; var engineNode = new EngineNode(this, node, vertex); engineNodeMap.Add(nodeName, engineNode); if (engineNode.Node is IActiveNode) { ++countOfFirstLoadsOutstanding; engineNode.Activate(); } } enginePipeline.Nodes.ForEach(p => p.Bind(this)); }
internal void MarkNodeAsDirty(EngineNode engineNode) { Execute(new DefaultEngineTask(this, engineNode)); }