Skip to main content

ILayoutServices Interface

Interface provided to track files for use by layout later.

Methods

MethodDescription
CreateFileTransfer(source, destination, move, sourceLineNumbers)Creates a file transfer and marks it redundant if the source and destination are identical.
TrackFile(path, type, sourceLineNumbers)Creates a tracked file.

WixToolset.Extensibility.dll version 5.0.2+aa65968c419420d32e3e1b647aea0082f5ca5b78

CreateFileTransfer(source, destination, move, sourceLineNumbers) Method

Creates a file transfer and marks it redundant if the source and destination are identical.

Declaration

public WixToolset.Extensibility.Data.IFileTransfer CreateFileTransfer(
string source,
string destination,
bool move,
WixToolset.Data.SourceLineNumber sourceLineNumbers
)

Parameters

ParameterTypeDescription
sourcestringSource for the file transfer.
destinationstringDestination for the file transfer.
moveboolIndicates whether to move or copy the source file.
sourceLineNumbersWixToolset.Data.SourceLineNumberOptional source line numbers that requested the file transfer.

TrackFile(path, type, sourceLineNumbers) Method

Creates a tracked file.

Declaration

public WixToolset.Extensibility.Data.ITrackedFile TrackFile(
string path,
WixToolset.Extensibility.Data.TrackedFileType type,
WixToolset.Data.SourceLineNumber sourceLineNumbers
)

Parameters

ParameterTypeDescription
pathstringDestination path for the build output.
typeWixToolset.Extensibility.Data.TrackedFileTypeType of tracked file to create.
sourceLineNumbersWixToolset.Data.SourceLineNumberOptional source line numbers that requested the tracked file.