public PackageFrameworkAssembliesDependencyNode( DependencyNodeId id, ProjectTreeFlags flags, IImmutableDictionary <string, string> properties = null, bool resolved = true) : base(id, flags, 0, properties, resolved) { Caption = Resources.FrameworkAssembliesNodeName; Icon = KnownMonikers.Library; ExpandedIcon = Icon; Priority = NuGetDependenciesSubTreeProvider.FrameworkAssemblyNodePriority; // override flags here - exclude default Reference flags since they block graph nodes at the moment Flags = DependencyFlags .Union(flags) .Union(PreFilledFolderNode); }
public PackageFrameworkAssembliesDependencyNode( DependencyNodeId id, ProjectTreeFlags flags, IImmutableDictionary <string, string> properties = null, bool resolved = true) : base(id, flags, 0, properties, resolved) { Caption = VSResources.FrameworkAssembliesNodeName; Icon = KnownMonikers.Library; ExpandedIcon = Icon; Priority = FrameworkAssemblyNodePriority; // Note: PreFilledFolderNode flag suggests graph provider to assume that this node already // has children added to it, so it can create graph nodes right away and not query them. Flags = DependencyFlags .Union(flags) .Union(PreFilledFolderNode); }