main
cs 28 lines 916 Bytes
Raw
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.Core.Preprocess
4 {
5 using System;
6 using WixToolset.Data;
7
8 internal delegate void IfDefEventHandler(object sender, IfDefEventArgs e);
9
10 internal class IfDefEventArgs : EventArgs
11 {
12 public IfDefEventArgs(SourceLineNumber sourceLineNumbers, bool isIfDef, bool isDefined, string variableName)
13 {
14 this.SourceLineNumbers = sourceLineNumbers;
15 this.IsIfDef = isIfDef;
16 this.IsDefined = isDefined;
17 this.VariableName = variableName;
18 }
19
20 public SourceLineNumber SourceLineNumbers { get; }
21
22 public bool IsDefined { get; }
23
24 public bool IsIfDef { get; }
25
26 public string VariableName { get; }
27 }
28 }