// Gets the objects to iterate over to make the child nodes protected override ICollection GetChildren() { ProgressDialog progress = new ProgressDialog(); progress.Setup(String.Format(StringParser.Parse("${res:ComponentInspector.ProgressDialog.GettingInformationDialogTitle}"), "Type Library"), String.Format(StringParser.Parse("${res:ComponentInspector.ProgressDialog.GettingInformationMessage}"), "Type Library"), TypeLibrary.GetRegisteredTypeLibsCount(), !ProgressDialog.HAS_PROGRESS_TEXT, ProgressDialog.FINAL); progress.ShowIfNotDone(); return(TypeLibrary.GetRegisteredTypeLibs(progress)); }
// Determines is this node has children protected override bool HasChildren() { return(TypeLibrary.GetRegisteredTypeLibsCount() > 0); }