コード例 #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);
                LogDependencyCount();
            }
        }
コード例 #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
 internal Item SetWorkingGraph(WorkingGraph workingGraph)
 {
     _workingGraph = workingGraph;
     return(this);
 }
コード例 #4
0
 public abstract IEnumerable <Dependency> CreateSomeTestDependencies(WorkingGraph transformingGraph);