Skip to main content

Intermediate Class

Container class for an intermediate object.

Methods

MethodDescription
AddSection(section)Adds a section to the intermedaite.
HasLevel(level)Returns whether a specifed intermediate level has been set for this intermediate.
Load(path, suppressVersionCheck)Loads an intermediate from a path on disk.
Load(assembly, resourceName, suppressVersionCheck)Loads an intermediate from a stream.
Load(assembly, resourceName, creator, suppressVersionCheck)Loads an intermediate from a stream.
Load(path, creator, suppressVersionCheck)Loads an intermediate from a path on disk.
Load(wixOutput, suppressVersionCheck)Loads an intermediate from a WixOutput object.
Load(wixOutput, creator, suppressVersionCheck)Loads an intermediate from a WixOutput object.
RemoveSection(section)Removes a section from the intermediate.
Save(path)Saves an intermediate to a path on disk.
Save(wixout)Saves an intermediate to a WixOutput.
SaveNew(path)Saves an intermediate that can only be written to to a path on disk.
UpdateLevel(level)Updates the intermediate level to the specified level.

Properties

PropertyDescription
IdGet the id for the intermediate.
LevelGet the level of the intermediate.
LocalizationsGet the localizations contained in this intermediate.
SectionsGet the sections contained in this intermediate.

WixToolset.Data.dll version 5.0.2+aa65968c419420d32e3e1b647aea0082f5ca5b78

AddSection(section) Method

Adds a section to the intermedaite.

Declaration

public IntermediateSection AddSection(
IntermediateSection section
)

Parameters

ParameterTypeDescription
sectionIntermediateSectionSection to add to the intermediate.

Return value

IntermediateSection Section added to the intermediate.

HasLevel(level) Method

Returns whether a specifed intermediate level has been set for this intermediate.

Declaration

public bool HasLevel(
string level
)

Parameters

ParameterTypeDescription
levelstringIntermediate level.

Return value

bool True if the specifed intermediate level has been set for this intermediate.

Load(path, suppressVersionCheck) Method

Loads an intermediate from a path on disk.

Declaration

public static Intermediate Load(
string path,
bool suppressVersionCheck
)

Parameters

ParameterTypeDescription
pathstringPath to intermediate file saved on disk.
suppressVersionCheckboolSuppress checking for wix.dll version mismatches.

Return value

Intermediate Returns the loaded intermediate.

Load(assembly, resourceName, suppressVersionCheck) Method

Loads an intermediate from a stream.

Declaration

public static Intermediate Load(
System.Reflection.Assembly assembly,
string resourceName,
bool suppressVersionCheck
)

Parameters

ParameterTypeDescription
assemblySystem.Reflection.AssemblyAssembly with intermediate embedded in resource stream.
resourceNamestringName of resource stream.
suppressVersionCheckboolSuppress checking for wix.dll version mismatches.

Return value

Intermediate Returns the loaded intermediate.

Load(assembly, resourceName, creator, suppressVersionCheck) Method

Loads an intermediate from a stream.

Declaration

public static Intermediate Load(
System.Reflection.Assembly assembly,
string resourceName,
ISymbolDefinitionCreator creator,
bool suppressVersionCheck
)

Parameters

ParameterTypeDescription
assemblySystem.Reflection.AssemblyAssembly with intermediate embedded in resource stream.
resourceNamestringName of resource stream.
creatorISymbolDefinitionCreatorISymbolDefinitionCreator to use when reconstituting the intermediate.
suppressVersionCheckboolSuppress checking for wix.dll version mismatches.

Return value

Intermediate Returns the loaded intermediate.

Load(path, creator, suppressVersionCheck) Method

Loads an intermediate from a path on disk.

Declaration

public static Intermediate Load(
string path,
ISymbolDefinitionCreator creator,
bool suppressVersionCheck
)

Parameters

ParameterTypeDescription
pathstringPath to intermediate file saved on disk.
creatorISymbolDefinitionCreatorISymbolDefinitionCreator to use when reconstituting the intermediate.
suppressVersionCheckboolSuppress checking for wix.dll version mismatches.

Return value

Intermediate Returns the loaded intermediate.

Load(wixOutput, suppressVersionCheck) Method

Loads an intermediate from a WixOutput object.

Declaration

public static Intermediate Load(
WixOutput wixOutput,
bool suppressVersionCheck
)

Parameters

ParameterTypeDescription
wixOutputWixOutputWixOutput object.
suppressVersionCheckboolSuppress checking for wix.dll version mismatches.

Return value

Intermediate Returns the loaded intermediate.

Load(wixOutput, creator, suppressVersionCheck) Method

Loads an intermediate from a WixOutput object.

Declaration

public static Intermediate Load(
WixOutput wixOutput,
ISymbolDefinitionCreator creator,
bool suppressVersionCheck
)

Parameters

ParameterTypeDescription
wixOutputWixOutputWixOutput object.
creatorISymbolDefinitionCreatorISymbolDefinitionCreator to use when reconstituting the intermediate.
suppressVersionCheckboolSuppress checking for wix.dll version mismatches.

Return value

Intermediate Returns the loaded intermediate.

RemoveSection(section) Method

Removes a section from the intermediate.

Declaration

public bool RemoveSection(
IntermediateSection section
)

Parameters

ParameterTypeDescription
sectionIntermediateSectionSection to remove.

Return value

bool True if the section was removed; otherwise false.

Save(path) Method

Saves an intermediate to a path on disk.

Declaration

public void Save(
string path
)

Parameters

ParameterTypeDescription
pathstringPath to save intermediate file to disk.

Save(wixout) Method

Saves an intermediate to a WixOutput.

Declaration

public void Save(
WixOutput wixout
)

Parameters

ParameterTypeDescription
wixoutWixOutputDestination to save.

SaveNew(path) Method

Saves an intermediate that can only be written to to a path on disk.

Declaration

public void SaveNew(
string path
)

Parameters

ParameterTypeDescription
pathstringPath to save intermediate file to disk.

UpdateLevel(level) Method

Updates the intermediate level to the specified level.

Declaration

public Intermediate UpdateLevel(
string level
)

Parameters

ParameterTypeDescription
levelstringIntermediate level.

Id Property

Get the id for the intermediate.

Declaration

public string Id { get; set; } 

Level Property

Get the level of the intermediate.

Declaration

public string Level { get; set; } 

Localizations Property

Get the localizations contained in this intermediate.

Declaration

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

Sections Property

Get the sections contained in this intermediate.

Declaration

public System.Collections.Generic.IReadOnlyCollection<WixToolset.Data.IntermediateSection> Sections { get; set; }