Skip to content

BaseLibrarianExtension Class

Base class for creating a librarian extension.

MethodDescription
PostCombine(result)Called at the end of combining.
PreCombine(context)Called at the beginning of combining.
ResolveFile(sourceLineNumber, symbolDefinition, path)Resolves a path to a file path on disk.
PropertyDescription
ContextContext for use by the extension.
MessagingMessaging for use by the extension.
WixToolset.Extensibility.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Called at the end of combining.

public void PostCombine(
Data.ILibraryResult result
)
ParameterTypeDescription
resultData.ILibraryResultCombined library result.

Called at the beginning of combining.

public void PreCombine(
Data.ILibraryContext context
)
ParameterTypeDescription
contextData.ILibraryContextLibrarian context.

ResolveFile(sourceLineNumber, symbolDefinition, path) Method

Section titled “ResolveFile(sourceLineNumber, symbolDefinition, path) Method”

Resolves a path to a file path on disk.

public Data.IResolveFileResult ResolveFile(
WixToolset.Data.SourceLineNumber sourceLineNumber,
WixToolset.Data.IntermediateSymbolDefinition symbolDefinition,
string path
)
ParameterTypeDescription
sourceLineNumberWixToolset.Data.SourceLineNumberSource line number for the path to resolve.
symbolDefinitionWixToolset.Data.IntermediateSymbolDefinitionSymbol related to the path to resolve.
pathstringPath to resolve.

Data.IResolveFileResult Optional resolved file result.

Context for use by the extension.

protected Data.ILibraryContext Context { get; set; }

Messaging for use by the extension.

protected Services.IMessaging Messaging { get; set; }