Skip to main content

BaseLibrarianExtension Class

Base class for creating a librarian extension.

Methods

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.

Properties

PropertyDescription
ContextContext for use by the extension.
MessagingMessaging for use by the extension.

WixToolset.Extensibility.dll version 5.0.2+aa65968c419420d32e3e1b647aea0082f5ca5b78

PostCombine(result) Method

Called at the end of combining.

Declaration

public void PostCombine(
Data.ILibraryResult result
)

Parameters

ParameterTypeDescription
resultData.ILibraryResultCombined library result.

PreCombine(context) Method

Called at the beginning of combining.

Declaration

public void PreCombine(
Data.ILibraryContext context
)

Parameters

ParameterTypeDescription
contextData.ILibraryContextLibrarian context.

ResolveFile(sourceLineNumber, symbolDefinition, path) Method

Resolves a path to a file path on disk.

Declaration

public Data.IResolveFileResult ResolveFile(
WixToolset.Data.SourceLineNumber sourceLineNumber,
WixToolset.Data.IntermediateSymbolDefinition symbolDefinition,
string path
)

Parameters

ParameterTypeDescription
sourceLineNumberWixToolset.Data.SourceLineNumberSource line number for the path to resolve.
symbolDefinitionWixToolset.Data.IntermediateSymbolDefinitionSymbol related to the path to resolve.
pathstringPath to resolve.

Return value

Data.IResolveFileResult Optional resolved file result.

Context Property

Context for use by the extension.

Declaration

protected Data.ILibraryContext Context { get; set; } 

Messaging Property

Messaging for use by the extension.

Declaration

protected Services.IMessaging Messaging { get; set; }