diff options
Diffstat (limited to 'src/WixToolset.Data/Intermediate.cs')
-rw-r--r-- | src/WixToolset.Data/Intermediate.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/WixToolset.Data/Intermediate.cs b/src/WixToolset.Data/Intermediate.cs index 1db21d85..7fc7d6c3 100644 --- a/src/WixToolset.Data/Intermediate.cs +++ b/src/WixToolset.Data/Intermediate.cs | |||
@@ -108,6 +108,31 @@ namespace WixToolset.Data | |||
108 | } | 108 | } |
109 | 109 | ||
110 | /// <summary> | 110 | /// <summary> |
111 | /// Loads an intermediate from a WixOutput object. | ||
112 | /// </summary> | ||
113 | /// <param name="wixOutput">WixOutput object.</param> | ||
114 | /// <param name="creator">ITupleDefinitionCreator to use when reconstituting the intermediate.</param> | ||
115 | /// <param name="suppressVersionCheck">Suppress checking for wix.dll version mismatches.</param> | ||
116 | /// <returns>Returns the loaded intermediate.</returns> | ||
117 | public static Intermediate Load(WixOutput wixOutput, bool suppressVersionCheck = false) | ||
118 | { | ||
119 | var creator = new SimpleTupleDefinitionCreator(); | ||
120 | return Intermediate.LoadIntermediate(wixOutput, creator, suppressVersionCheck); | ||
121 | } | ||
122 | |||
123 | /// <summary> | ||
124 | /// Loads an intermediate from a WixOutput object. | ||
125 | /// </summary> | ||
126 | /// <param name="wixOutput">WixOutput object.</param> | ||
127 | /// <param name="creator">ITupleDefinitionCreator to use when reconstituting the intermediate.</param> | ||
128 | /// <param name="suppressVersionCheck">Suppress checking for wix.dll version mismatches.</param> | ||
129 | /// <returns>Returns the loaded intermediate.</returns> | ||
130 | public static Intermediate Load(WixOutput wixOutput, ITupleDefinitionCreator creator, bool suppressVersionCheck = false) | ||
131 | { | ||
132 | return Intermediate.LoadIntermediate(wixOutput, creator, suppressVersionCheck); | ||
133 | } | ||
134 | |||
135 | /// <summary> | ||
111 | /// Loads several intermediates from paths on disk using the same definitions. | 136 | /// Loads several intermediates from paths on disk using the same definitions. |
112 | /// </summary> | 137 | /// </summary> |
113 | /// <param name="intermediateFiles">Paths to intermediate files saved on disk.</param> | 138 | /// <param name="intermediateFiles">Paths to intermediate files saved on disk.</param> |