Skip to 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 {#cancellationtoken}

Cancellation token.

Declaration

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

CompilationId Property {#compilationid}

Unique identifier for the compilation.

Declaration

public string CompilationId { get; set; }

Extensions Property {#extensions}

Set of extensions provided to the compiler.

Declaration

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

IntermediateFolder Property {#intermediatefolder}

Intermediate folder.

Declaration

public string IntermediateFolder { get; set; }

IsCurrentPlatform64Bit Property {#iscurrentplatform64bit}

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

Declaration

public bool IsCurrentPlatform64Bit { get; set; }

OutputPath Property {#outputpath}

Output path.

Declaration

public string OutputPath { get; set; }

Platform Property {#platform}

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 {#serviceprovider}

Service provider made available to the compiler and its extensions.

Declaration

public System.IServiceProvider ServiceProvider { get; set; }

Source Property {#source}

Source document being compiled.

Declaration

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