From 4673f2806a7869317ad0a8fa5915374ffcc6ab42 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 8 May 2019 15:44:11 -0700 Subject: Require inline directory collection when processing directories This collection is required to handle anonymous ids efficiently. --- src/WixToolset.Extensibility/Services/IParseHelper.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/WixToolset.Extensibility/Services/IParseHelper.cs b/src/WixToolset.Extensibility/Services/IParseHelper.cs index a4eb3ce7..18c2acbe 100644 --- a/src/WixToolset.Extensibility/Services/IParseHelper.cs +++ b/src/WixToolset.Extensibility/Services/IParseHelper.cs @@ -65,20 +65,23 @@ namespace WixToolset.Extensibility.Services /// Optional identifier for the new row. /// Optional identifier for the parent row. /// Long name of the directory. + /// Inline directory ids for the section. /// Optional short name of the directory. /// Optional source name for the directory. /// Optional short source name for the directory. /// Identifier for the newly created row. - Identifier CreateDirectoryRow(IntermediateSection section, SourceLineNumber sourceLineNumbers, Identifier id, string parentId, string name, string shortName = null, string sourceName = null, string shortSourceName = null, ISet sectionInlinedDirectoryIds = null); + Identifier CreateDirectoryRow(IntermediateSection section, SourceLineNumber sourceLineNumbers, Identifier id, string parentId, string name, ISet sectionInlinedDirectoryIds, string shortName = null, string sourceName = null, string shortSourceName = null); /// /// Creates directories using the inline directory syntax. /// + /// Section to add the new tuple to. /// Source line information. - /// The attribute to parse. /// Optional identifier of parent directory. + /// The attribute to parse. + /// Inline directory ids for the section. /// Identifier of the leaf directory created. - string CreateDirectoryReferenceFromInlineSyntax(IntermediateSection section, SourceLineNumber sourceLineNumbers, XAttribute attribute, string parentId); + string CreateDirectoryReferenceFromInlineSyntax(IntermediateSection section, SourceLineNumber sourceLineNumbers, string parentId, XAttribute attribute, ISet sectionInlinedDirectoryIds); /// /// Creates a Registry row in the active section. -- cgit v1.2.3-55-g6feb