Skip to main content

ICompileContext Interface

Context provided to the compiler.

Properties

PropertyDescription
CancellationTokenCancellation token.
CompilationIdUnique identifier for the compilation.
ExtensionsSet of extensions provided to the compiler.
IntermediateFolderIntermediate folder.
IsCurrentPlatform64BitCalculates whether the target platform for the compilation is 64-bit or not.
OutputPathOutput path.
PlatformGets or sets the platform which the compiler will use when defaulting 64-bit attributes and elements.
ServiceProviderService provider made available to the compiler and its extensions.
SourceSource document being compiled.

WixToolset.Extensibility.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

CancellationToken Property

Cancellation token.

Declaration

public System.Threading.CancellationToken CancellationToken { get; set; } 

CompilationId Property

Unique identifier for the compilation.

Declaration

public string CompilationId { get; set; } 

Extensions Property

Set of extensions provided to the compiler.

Declaration

public System.Collections.Generic.IReadOnlyCollection<WixToolset.Extensibility.ICompilerExtension> Extensions { get; set; } 

IntermediateFolder Property

Intermediate folder.

Declaration

public string IntermediateFolder { get; set; } 

IsCurrentPlatform64Bit Property

Calculates whether the target platform for the compilation is 64-bit or not.

Declaration

public bool IsCurrentPlatform64Bit { get; set; } 

OutputPath Property

Output path.

Declaration

public string OutputPath { get; set; } 

Platform Property

Gets or sets the platform which the compiler will use when defaulting 64-bit attributes and elements.

Declaration

public WixToolset.Data.Platform Platform { get; set; } 

ServiceProvider Property

Service provider made available to the compiler and its extensions.

Declaration

public System.IServiceProvider ServiceProvider { get; set; } 

Source Property

Source document being compiled.

Declaration

public System.Xml.Linq.XDocument Source { get; set; }