diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-11-01 10:59:45 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-11-01 10:59:45 -0700 |
| commit | 2bb37beda887d120a0ddabf874ad25357101faa1 (patch) | |
| tree | c35e97b03274b86cfc9ff7fd2caeee211165a140 /src/WixToolset.Core.WindowsInstaller/MelterCore.cs | |
| parent | df7413aeed3aea3425dff20ae0c8b1be3a3ab525 (diff) | |
| download | wix-2bb37beda887d120a0ddabf874ad25357101faa1.tar.gz wix-2bb37beda887d120a0ddabf874ad25357101faa1.tar.bz2 wix-2bb37beda887d120a0ddabf874ad25357101faa1.zip | |
Update to WiX Intermediate Representation
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/MelterCore.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/MelterCore.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/MelterCore.cs b/src/WixToolset.Core.WindowsInstaller/MelterCore.cs new file mode 100644 index 00000000..75d43619 --- /dev/null +++ b/src/WixToolset.Core.WindowsInstaller/MelterCore.cs | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
| 2 | |||
| 3 | namespace WixToolset | ||
| 4 | { | ||
| 5 | using WixToolset.Data; | ||
| 6 | |||
| 7 | /// <summary> | ||
| 8 | /// Melts a Module Wix document into a ComponentGroup representation. | ||
| 9 | /// </summary> | ||
| 10 | public sealed class MelterCore : IMessageHandler | ||
| 11 | { | ||
| 12 | /// <summary> | ||
| 13 | /// Gets whether the melter core encountered an error while processing. | ||
| 14 | /// </summary> | ||
| 15 | /// <value>Flag if core encountered an error during processing.</value> | ||
| 16 | public bool EncounteredError | ||
| 17 | { | ||
| 18 | get { return Messaging.Instance.EncounteredError; } | ||
| 19 | } | ||
| 20 | |||
| 21 | /// <summary> | ||
| 22 | /// Sends a message to the message delegate if there is one. | ||
| 23 | /// </summary> | ||
| 24 | /// <param name="mea">Message event arguments.</param> | ||
| 25 | public void OnMessage(MessageEventArgs e) | ||
| 26 | { | ||
| 27 | Messaging.Instance.OnMessage(e); | ||
| 28 | } | ||
| 29 | } | ||
| 30 | } | ||
