예제 #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
파일: Item.cs 프로젝트: hmmueller/NDepCheck
 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
파일: Item.cs 프로젝트: hmmueller/NDepCheck
 internal Item SetWorkingGraph(WorkingGraph workingGraph)
 {
     _workingGraph = workingGraph;
     return(this);
 }