private int GetEnum(NavInfoList navInfoList, bool isObjectBrowser, bool isCanonical, ref ImmutableArray <IVsNavInfoNode> nodeList, out IVsEnumNavInfoNodes ppEnum) { if (nodeList == null) { var builder = ImmutableArray.CreateBuilder <IVsNavInfoNode>(); FillNodeList(navInfoList, isObjectBrowser, isCanonical, builder); nodeList = builder.ToImmutable(); } ppEnum = new EnumNavInfoNodes(nodeList); return(VSConstants.S_OK); }
private int GetEnum(NavInfoList navInfoList, bool isObjectBrowser, bool isCanonical, ref ImmutableArray<IVsNavInfoNode> nodeList, out IVsEnumNavInfoNodes ppEnum) { if (nodeList == null) { var builder = ImmutableArray.CreateBuilder<IVsNavInfoNode>(); FillNodeList(navInfoList, isObjectBrowser, isCanonical, builder); nodeList = builder.ToImmutable(); } ppEnum = new EnumNavInfoNodes(nodeList); return VSConstants.S_OK; }
public int Clone(out IVsEnumNavInfoNodes ppEnum) { ppEnum = new EnumNavInfoNodes(_nodeList); return(VSConstants.S_OK); }
public int Clone(out IVsEnumNavInfoNodes ppEnum) { ppEnum = new EnumNavInfoNodes(_nodeList); return VSConstants.S_OK; }