blob: 37a7206e2099a0bb092dbf74567bcceb327fd0c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
// 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.
namespace WixToolset
{
using System;
using System.Text;
using WixToolset.Data;
public delegate void IfDefEventHandler(object sender, IfDefEventArgs e);
public class IfDefEventArgs : EventArgs
{
private SourceLineNumber sourceLineNumbers;
private bool isIfDef;
private bool isDefined;
private string variableName;
public IfDefEventArgs(SourceLineNumber sourceLineNumbers, bool isIfDef, bool isDefined, string variableName)
{
this.sourceLineNumbers = sourceLineNumbers;
this.isIfDef = isIfDef;
this.isDefined = isDefined;
this.variableName = variableName;
}
public SourceLineNumber SourceLineNumbers
{
get { return this.sourceLineNumbers; }
}
public bool IsDefined
{
get { return this.isDefined; }
}
public bool IsIfDef
{
get { return this.isIfDef; }
}
public string VariableName
{
get { return this.variableName; }
}
}
}
|