Exemple #1
0
        public override void BuildChildNodes(ITreeBuilder treeBuilder, object dataObject)
        {
            var project = (DnxProject)dataObject;
            var node    = new DependenciesFolderNode(project);

            treeBuilder.AddChild(node);
        }
        public override void BuildChildNodes(ITreeBuilder treeBuilder, object dataObject)
        {
            var project    = (XProject)dataObject;
            var dnxProject = project.GetFlavor <DnxProject> ();
            var node       = new DependenciesFolderNode(dnxProject);

            treeBuilder.AddChild(node);
        }
        public override void BuildChildNodes(ITreeBuilder treeBuilder, object dataObject)
        {
            Dispose ();

            var project = (DnxProject)dataObject;
            project.DependenciesChanged += ProjectDependenciesChanged;
            project.PackageRestoreStarted += PackageRestoreStarted;
            project.PackageRestoreFinished += PackageRestoreFinished;

            currentFolderNode = new DependenciesFolderNode (project);
            treeBuilder.AddChild (currentFolderNode);
        }
        public override void BuildChildNodes(ITreeBuilder treeBuilder, object dataObject)
        {
            Dispose();

            var project = (DnxProject)dataObject;

            project.DependenciesChanged    += ProjectDependenciesChanged;
            project.PackageRestoreStarted  += PackageRestoreStarted;
            project.PackageRestoreFinished += PackageRestoreFinished;

            currentFolderNode = new DependenciesFolderNode(project);
            treeBuilder.AddChild(currentFolderNode);
        }
 public override void BuildChildNodes(ITreeBuilder treeBuilder, object dataObject)
 {
     var project = (DnxProject)dataObject;
     var node = new DependenciesFolderNode (project);
     treeBuilder.AddChild (node);
 }