/// <summary> /// Binds the state of the guidance workflow to Blackboard data, /// and starts tracking changes in the workflow to update the underlying /// storage in the Blackboard /// </summary> public BlackboardWorkflowBinder(IGuidanceExtension feature, IGuidanceWorkflow guidanceWorkflow) { this.tracer = Tracer.Get <BlackboardWorkflowBinder>(); this.guidanceWorkflow = guidanceWorkflow; this.feature = feature; // // Note: For BlackboardWorkflowBinder we don't set the WF state here because we have to wait // until the OnInitialize in Feature.cs initializes the Blackboard. // this.TrackChanges(); }
/// <summary> /// Binds the state of the guidance workflow to Blackboard data, /// and starts tracking changes in the workflow to update the underlying /// storage in the Blackboard /// </summary> public BlackboardWorkflowBinder(IGuidanceExtension feature, IGuidanceWorkflow guidanceWorkflow) { this.tracer = Tracer.Get<BlackboardWorkflowBinder>(); this.guidanceWorkflow = guidanceWorkflow; this.feature = feature; // // Note: For BlackboardWorkflowBinder we don't set the WF state here because we have to wait // until the OnInitialize in Feature.cs initializes the Blackboard. // this.TrackChanges(); }
private static IList <IConditionalNode> NodesToEvaluate(IGuidanceWorkflow w) { return(w.AllNodesToEvaluate); }