示例#1
0
        public void MakeTop([CanBeNull] string name)
        {
            WorkingGraph g = FindGraphs(name ?? "2").FirstOrDefault();

            if (g == null)
            {
                Log.WriteError($"No graph with name '{name}' found");
            }
            else
            {
                _workingGraphs.Remove(g);
                _workingGraphs.Add(g);
            }
        }
示例#2
0
 public Item Append(WorkingGraph graph, [CanBeNull] ItemTail additionalValues)
 {
     return(additionalValues == null
         ? this
         : graph.CreateItem(additionalValues.Type, Values.Concat(additionalValues.Values.Skip(Type.Length)).ToArray()));
 }
示例#3
0
 public abstract IEnumerable <Dependency> CreateSomeTestDependencies(WorkingGraph transformingGraph);
示例#4
0
 internal Item SetWorkingGraph(WorkingGraph workingGraph)
 {
     _workingGraph = workingGraph;
     return(this);
 }