Intermediate Class
Container class for an intermediate object.
Methods
Section titled “Methods”| Method | Description |
|---|---|
| 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. |
| UpdateLevel(level) | Updates the intermediate level to the specified level. |
Properties
Section titled “Properties”| Property | Description |
|---|---|
| Id | Get the id for the intermediate. |
| Level | Get the level of the intermediate. |
| Localizations | Get the localizations contained in this intermediate. |
| Sections | Get the sections contained in this intermediate. |
WixToolset.Data.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8 |
AddSection(section) Method
Section titled “AddSection(section) Method”Adds a section to the intermedaite.
Declaration
Section titled “Declaration”public IntermediateSection AddSection( IntermediateSection section)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| section | IntermediateSection | Section to add to the intermediate. |
Return value
Section titled “Return value”IntermediateSection Section added to the intermediate.
HasLevel(level) Method
Section titled “HasLevel(level) Method”Returns whether a specifed intermediate level has been set for this intermediate.
Declaration
Section titled “Declaration”public bool HasLevel( string level)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| level | string | Intermediate level. |
Return value
Section titled “Return value”bool True if the specifed intermediate level has been set for this intermediate.
Load(path, suppressVersionCheck) Method
Section titled “Load(path, suppressVersionCheck) Method”Loads an intermediate from a path on disk.
Declaration
Section titled “Declaration”public static Intermediate Load( string path, bool suppressVersionCheck)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| path | string | Path to intermediate file saved on disk. |
| suppressVersionCheck | bool | Suppress checking for wix.dll version mismatches. |
Return value
Section titled “Return value”Intermediate Returns the loaded intermediate.
Load(assembly, resourceName, suppressVersionCheck) Method
Section titled “Load(assembly, resourceName, suppressVersionCheck) Method”Loads an intermediate from a stream.
Declaration
Section titled “Declaration”public static Intermediate Load( System.Reflection.Assembly assembly, string resourceName, bool suppressVersionCheck)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| assembly | System.Reflection.Assembly | Assembly with intermediate embedded in resource stream. |
| resourceName | string | Name of resource stream. |
| suppressVersionCheck | bool | Suppress checking for wix.dll version mismatches. |
Return value
Section titled “Return value”Intermediate Returns the loaded intermediate.
Load(assembly, resourceName, creator, suppressVersionCheck) Method
Section titled “Load(assembly, resourceName, creator, suppressVersionCheck) Method”Loads an intermediate from a stream.
Declaration
Section titled “Declaration”public static Intermediate Load( System.Reflection.Assembly assembly, string resourceName, ISymbolDefinitionCreator creator, bool suppressVersionCheck)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| assembly | System.Reflection.Assembly | Assembly with intermediate embedded in resource stream. |
| resourceName | string | Name of resource stream. |
| creator | ISymbolDefinitionCreator | ISymbolDefinitionCreator to use when reconstituting the intermediate. |
| suppressVersionCheck | bool | Suppress checking for wix.dll version mismatches. |
Return value
Section titled “Return value”Intermediate Returns the loaded intermediate.
Load(path, creator, suppressVersionCheck) Method
Section titled “Load(path, creator, suppressVersionCheck) Method”Loads an intermediate from a path on disk.
Declaration
Section titled “Declaration”public static Intermediate Load( string path, ISymbolDefinitionCreator creator, bool suppressVersionCheck)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| path | string | Path to intermediate file saved on disk. |
| creator | ISymbolDefinitionCreator | ISymbolDefinitionCreator to use when reconstituting the intermediate. |
| suppressVersionCheck | bool | Suppress checking for wix.dll version mismatches. |
Return value
Section titled “Return value”Intermediate Returns the loaded intermediate.
Load(wixOutput, suppressVersionCheck) Method
Section titled “Load(wixOutput, suppressVersionCheck) Method”Loads an intermediate from a WixOutput object.
Declaration
Section titled “Declaration”public static Intermediate Load( WixOutput wixOutput, bool suppressVersionCheck)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| wixOutput | WixOutput | WixOutput object. |
| suppressVersionCheck | bool | Suppress checking for wix.dll version mismatches. |
Return value
Section titled “Return value”Intermediate Returns the loaded intermediate.
Load(wixOutput, creator, suppressVersionCheck) Method
Section titled “Load(wixOutput, creator, suppressVersionCheck) Method”Loads an intermediate from a WixOutput object.
Declaration
Section titled “Declaration”public static Intermediate Load( WixOutput wixOutput, ISymbolDefinitionCreator creator, bool suppressVersionCheck)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| wixOutput | WixOutput | WixOutput object. |
| creator | ISymbolDefinitionCreator | ISymbolDefinitionCreator to use when reconstituting the intermediate. |
| suppressVersionCheck | bool | Suppress checking for wix.dll version mismatches. |
Return value
Section titled “Return value”Intermediate Returns the loaded intermediate.
RemoveSection(section) Method
Section titled “RemoveSection(section) Method”Removes a section from the intermediate.
Declaration
Section titled “Declaration”public bool RemoveSection( IntermediateSection section)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| section | IntermediateSection | Section to remove. |
Return value
Section titled “Return value”bool True if the section was removed; otherwise false.
Save(path) Method
Section titled “Save(path) Method”Saves an intermediate to a path on disk.
Declaration
Section titled “Declaration”public void Save( string path)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| path | string | Path to save intermediate file to disk. |
Save(wixout) Method
Section titled “Save(wixout) Method”Saves an intermediate to a WixOutput.
Declaration
Section titled “Declaration”public void Save( WixOutput wixout)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| wixout | WixOutput | Destination to save. |
UpdateLevel(level) Method
Section titled “UpdateLevel(level) Method”Updates the intermediate level to the specified level.
Declaration
Section titled “Declaration”public Intermediate UpdateLevel( string level)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| level | string | Intermediate level. |
Id Property
Section titled “Id Property”Get the id for the intermediate.
Declaration
Section titled “Declaration”public string Id { get; set; }Level Property
Section titled “Level Property”Get the level of the intermediate.
Declaration
Section titled “Declaration”public string Level { get; set; }Localizations Property
Section titled “Localizations Property”Get the localizations contained in this intermediate.
Declaration
Section titled “Declaration”public System.Collections.Generic.IReadOnlyCollection<WixToolset.Data.Localization> Localizations { get; set; }Sections Property
Section titled “Sections Property”Get the sections contained in this intermediate.
Declaration
Section titled “Declaration”public System.Collections.Generic.IReadOnlyCollection<WixToolset.Data.IntermediateSection> Sections { get; set; }