IEnumerable <ILSpyTreeNode> FetchChildren(CancellationToken ct) { // FetchChildren() runs on the main thread; but the enumerator will be consumed on a background thread var assemblies = list.GetAssemblies().Select(node => node.GetPEFileOrNull()).Where(asm => asm != null).ToArray(); return(DerivedTypesTreeNode.FindDerivedTypes(list, type, assemblies, ct)); }
IEnumerable <ILSpyTreeNode> FetchChildren(CancellationToken ct) { // FetchChildren() runs on the main thread; but the enumerator will be consumed on a background thread return(DerivedTypesTreeNode.FindDerivedTypes(type, assemblies, ct)); }
public virtual TreeViewNodeFilterResult GetFilterResult(DerivedTypesTreeNode node) { return filter.GetFilterResult(node); }
public virtual TreeViewNodeFilterResult GetFilterResult(DerivedTypesTreeNode node) { return new TreeViewNodeFilterResult(FilterResult.Hidden, false); }
public override TreeViewNodeFilterResult GetFilterResult(DerivedTypesTreeNode node) { bool isMatch = (flags & VisibleMembersFlags.DerivedTypes) != 0; if (!isMatch) return new TreeViewNodeFilterResult(FilterResult.Hidden, isMatch); return new TreeViewNodeFilterResult(FilterResult.Match, isMatch); }