Example #1
0
        private IEnumerable <ItemReference> GetDependencies(InstallItem installItem)
        {
            var analyzer = new DependencyAnalyzer(new MockMetadata());

            analyzer.AddReferenceAndDependencies(installItem);
            analyzer.FinishAdding();
            return(analyzer.GetDependencies(installItem.Reference));
        }