Esempio n. 1
0
 public SdkDependenciesNode(DependenciesNode parentNode)
 {
     ParentNode = parentNode;
 }
Esempio n. 2
0
 public PackageDependenciesNode(DependenciesNode parentNode)
 {
     ParentNode = parentNode;
 }
 public IEnumerable <TargetFrameworkNode> GetTargetFrameworkNodes(
     DependenciesNode dependenciesNode,
     bool sdkDependencies)
 {
     return(frameworks.Select(dependency => new TargetFrameworkNode(dependenciesNode, dependency, sdkDependencies)));
 }
 public IEnumerable <PackageDependencyNode> GetProjectPackageReferencesAsDependencyNodes(DependenciesNode dependenciesNode)
 {
     return(Project.Items.OfType <ProjectPackageReference> ()
            .Select(reference => PackageDependencyNode.Create(dependenciesNode, reference)));
 }
Esempio n. 5
0
 public static PackageDependencyNode Create(
     DependenciesNode dependenciesNode,
     ProjectPackageReference packageReference)
 {
     return(new PackageDependencyNode(dependenciesNode, packageReference));
 }