diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-12-19 12:25:40 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-12-19 12:25:40 -0800 |
| commit | 155a6e96346e0cb3d9ab6f5372fa29b46ebaee89 (patch) | |
| tree | 59d1f151bfde8068b6014b05b5c8cfea3402c974 /src/WixToolset.Core/IfDefEventHandler.cs | |
| parent | 6f1665ed759b31bd095f186f9239232c653597cd (diff) | |
| download | wix-155a6e96346e0cb3d9ab6f5372fa29b46ebaee89.tar.gz wix-155a6e96346e0cb3d9ab6f5372fa29b46ebaee89.tar.bz2 wix-155a6e96346e0cb3d9ab6f5372fa29b46ebaee89.zip | |
Integrate simplified message handling
Diffstat (limited to 'src/WixToolset.Core/IfDefEventHandler.cs')
| -rw-r--r-- | src/WixToolset.Core/IfDefEventHandler.cs | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/WixToolset.Core/IfDefEventHandler.cs b/src/WixToolset.Core/IfDefEventHandler.cs deleted file mode 100644 index 37a7206e..00000000 --- a/src/WixToolset.Core/IfDefEventHandler.cs +++ /dev/null | |||
| @@ -1,46 +0,0 @@ | |||
| 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 System; | ||
| 6 | using System.Text; | ||
| 7 | using WixToolset.Data; | ||
| 8 | |||
| 9 | public delegate void IfDefEventHandler(object sender, IfDefEventArgs e); | ||
| 10 | |||
| 11 | public class IfDefEventArgs : EventArgs | ||
| 12 | { | ||
| 13 | private SourceLineNumber sourceLineNumbers; | ||
| 14 | private bool isIfDef; | ||
| 15 | private bool isDefined; | ||
| 16 | private string variableName; | ||
| 17 | |||
| 18 | public IfDefEventArgs(SourceLineNumber sourceLineNumbers, bool isIfDef, bool isDefined, string variableName) | ||
| 19 | { | ||
| 20 | this.sourceLineNumbers = sourceLineNumbers; | ||
| 21 | this.isIfDef = isIfDef; | ||
| 22 | this.isDefined = isDefined; | ||
| 23 | this.variableName = variableName; | ||
| 24 | } | ||
| 25 | |||
| 26 | public SourceLineNumber SourceLineNumbers | ||
| 27 | { | ||
| 28 | get { return this.sourceLineNumbers; } | ||
| 29 | } | ||
| 30 | |||
| 31 | public bool IsDefined | ||
| 32 | { | ||
| 33 | get { return this.isDefined; } | ||
| 34 | } | ||
| 35 | |||
| 36 | public bool IsIfDef | ||
| 37 | { | ||
| 38 | get { return this.isIfDef; } | ||
| 39 | } | ||
| 40 | |||
| 41 | public string VariableName | ||
| 42 | { | ||
| 43 | get { return this.variableName; } | ||
| 44 | } | ||
| 45 | } | ||
| 46 | } | ||
