BaseLibrarianExtension Class
Base class for creating a librarian extension.
Methods
Method | Description |
---|---|
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
Property | Description |
---|---|
Context | Context for use by the extension. |
Messaging | Messaging 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
Parameter | Type | Description |
---|---|---|
result | Data.ILibraryResult | Combined library result. |
PreCombine(context) Method
Called at the beginning of combining.
Declaration
public void PreCombine(
Data.ILibraryContext context
)
Parameters
Parameter | Type | Description |
---|---|---|
context | Data.ILibraryContext | Librarian 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
Parameter | Type | Description |
---|---|---|
sourceLineNumber | WixToolset.Data.SourceLineNumber | Source line number for the path to resolve. |
symbolDefinition | WixToolset.Data.IntermediateSymbolDefinition | Symbol related to the path to resolve. |
path | string | Path 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; }