Exemplo n.º 1
0
 private void AddProjectReferenceIntoDAG(DAG <IDependencyNode> dag, IDependencyNode p, IDependencyNode project)
 {
     if (!dag.Contains(p))
     {
         AddIntoDAG(p, dag);
     }
     dag.AddMergePath(project, p);
 }
Exemplo n.º 2
0
 private void AddProjectReferenceIntoDAG(DAG<IDependencyNode> dag, IDependencyNode p, IDependencyNode project)
 {
     if (!dag.Contains(p))
     {
         AddIntoDAG(p, dag);
     }
     dag.AddMergePath(project, p);
 }
Exemplo n.º 3
0
 private void AddReferenceIntoDAG(IDependencyNode child, DAG<IDependencyNode> dag, IDependencyNode parent)
 {
     var project = child as ProjectNode;
     if (project != null)
     {
         if (!dag.Contains(project))
         {
             AddIntoDAG(project, dag);
         }
         dag.AddPath(parent, child);
     }
     var assemblyReference = child as AssemblyNode;
     if (assemblyReference != null)
     {
         dag.AddMergePath(parent, child);
     }
 }
Exemplo n.º 4
0
        private void AddReferenceIntoDAG(IDependencyNode child, DAG <IDependencyNode> dag, IDependencyNode parent)
        {
            var project = child as ProjectNode;

            if (project != null)
            {
                if (!dag.Contains(project))
                {
                    AddIntoDAG(project, dag);
                }
                dag.AddPath(parent, child);
            }
            var assemblyReference = child as AssemblyNode;

            if (assemblyReference != null)
            {
                dag.AddMergePath(parent, child);
            }
        }