Skip to content

IOptimizeContext Interface

Context provided to the optimizer.

PropertyDescription
BindPathsCollection of bindpaths used to bind files.
BindVariablesBind variables used during optimization.
CancellationTokenCancellation token.
ExtensionsSet of extensions provided to the optimizer.
IntermediateFolderIntermediate folder.
IntermediatesCollection of intermediates to optimize.
LocalizationsCollection of localization files to use in the optimizer.
PlatformGets or sets the platform which the optimizer will use when defaulting 64-bit symbol properties.
ServiceProviderService provider made available to the optimizer and its extensions.
WixToolset.Extensibility.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Collection of bindpaths used to bind files.

public System.Collections.Generic.IReadOnlyCollection<WixToolset.Extensibility.Data.IBindPath> BindPaths { get; set; }

Bind variables used during optimization.

public System.Collections.Generic.IDictionary<System.String,System.String> BindVariables { get; set; }

Cancellation token.

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

Set of extensions provided to the optimizer.

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

Intermediate folder.

public string IntermediateFolder { get; set; }

Collection of intermediates to optimize.

public System.Collections.Generic.IReadOnlyCollection<WixToolset.Data.Intermediate> Intermediates { get; set; }

Collection of localization files to use in the optimizer.

public System.Collections.Generic.IReadOnlyCollection<WixToolset.Data.Localization> Localizations { get; set; }

Gets or sets the platform which the optimizer will use when defaulting 64-bit symbol properties.

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

Service provider made available to the optimizer and its extensions.

public System.IServiceProvider ServiceProvider { get; set; }