Beispiel #1
0
 public GraphBuilder(SynchronizeData sd, GraphToDSCompiler.GraphCompiler gc)
 {
     nodesToAdd    = sd.AddedNodes;
     nodesToModify = sd.ModifiedNodes;
     nodesToRemove = sd.RemovedNodes;
     this.gc       = gc;
 }
Beispiel #2
0
 public GraphBuilder(SynchronizeData sd, GraphToDSCompiler.GraphCompiler gc)
 {
     nodesToAdd = sd.AddedNodes;
     nodesToModify = sd.ModifiedNodes;
     nodesToRemove = sd.RemovedNodes;
     this.gc = gc;
 }
Beispiel #3
0
            private void InitRunner(Options options)
            {
                graphCompiler = GraphToDSCompiler.GraphCompiler.CreateInstance();
                graphCompiler.SetCore(GraphUtilities.GetCore());
                runner = new ProtoScriptTestRunner();

                executionOptions = options;
                InitOptions();
                InitCore();

                taskQueue = new Queue<Task>();

                workerThread = new Thread(new ThreadStart(TaskExecMethod));

                workerThread.IsBackground = true;
                workerThread.Start();

                staticContext = new ProtoCore.CompileTime.Context();
            }