aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/IfDefEventHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/IfDefEventHandler.cs')
-rw-r--r--src/WixToolset.Core/IfDefEventHandler.cs46
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
3namespace 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}