Beispiel #1
0
        private void Render(IGraphNode <Library> root)
        {
            var renderer = new LibraryDependencyFlatRenderer(_options.HideDependents, _options.ResultsFilter, _options.Project.Dependencies.Select(dep => dep.LibraryRange.Name));
            var content  = renderer.GetRenderContent(root);

            if (content.Any())
            {
                _options.Reports.Information.WriteLine("\n[Target framework {0} ({1})]\n",
                                                       _framework.ToString(), VersionUtility.GetShortFrameworkName(_framework));

                foreach (var line in content)
                {
                    _options.Reports.Information.WriteLine(line);
                }
            }
        }
 private void Render(IGraphNode<Library> root)
 {
     var renderer = new LibraryDependencyFlatRenderer(_options.Reports.Information);
     renderer.Render(root);
 }
Beispiel #3
0
        private void Render(IGraphNode <Library> root)
        {
            var renderer = new LibraryDependencyFlatRenderer(_options.Reports.Information);

            renderer.Render(root);
        }
        private void Render(IGraphNode<Library> root)
        {
            var renderer = new LibraryDependencyFlatRenderer(_options.HideDependents, _options.ResultsFilter, _options.Project.Dependencies.Select(dep => dep.LibraryRange.Name));
            var content = renderer.GetRenderContent(root);

            if (content.Any())
            {
                _options.Reports.Information.WriteLine("\n[Target framework {0} ({1})]\n",
                    _framework.ToString(), VersionUtility.GetShortFrameworkName(_framework));

                foreach (var line in content)
                {
                    _options.Reports.Information.WriteLine(line);
                }
            }
        }