/// <summary> /// Default constructor: /// <para>Will parse all sdkmanager --list --verbose output and create a list of platform items.</para> /// </summary> public SdkItemStructureBase() { if (SdkManagerBat.VerboseOutput == null) { var t = Task.Run(() => SdkManagerBat.FetchVerboseOutputAsync()); t.Wait(); } if (SdkManagerBat.VerboseOutput == null) { return; } }
// TODO: Fix This protected override void CreateItems() { Items = SdkManagerBat.GetTools(); if (Items == null) { return; } foreach (var p in Items) { p.CheckForUpdates(); p.CreatePackageChildren(); foreach (var c in p.Children) { c.CheckForUpdates(); } } }