Beispiel #1
0
        protected override void LoadChildren()
        {
            var usage = _solutionManager.GetNugetUsage(NugetPackage.Name);

            foreach (var nversion in usage.GroupBy(x => x.Nuget.Version).OrderBy(x => x.Key))
            {
                Children.Add(new NugetVersionGroupViewModel(nversion.Key.ToString(), this, nversion));
            }

            base.LoadChildren();
        }