public override IEnumerable <INodeFactory> GetNodeChildren(PowerShell.Provider.PathNodeProcessors.IContext context) { var nodes = new List <INodeFactory>(); foreach (object project in (IEnumerable)_dependency.RequiredProjects) { nodes.Add(ProjectNodeFactory.Create(project)); } return(nodes); }
public override IEnumerable <INodeFactory> GetNodeChildren(PowerShell.Provider.PathNodeProcessors.IContext context) { var nodes = new List <INodeFactory>(); foreach (var name in _projects) { var project = _dte.Solution.Projects.Item(name); nodes.Add(ProjectNodeFactory.Create(project)); } return(nodes); }