blob: beba216da21350ca85552c1c01cb3b7270b62a79 (
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
|
// 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.Core.Preprocess
{
using System;
using WixToolset.Data;
/// <summary>
/// Included file event handler delegate.
/// </summary>
/// <param name="sender">Sender of the message.</param>
/// <param name="ea">Arguments for the included file event.</param>
public delegate void IncludedFileEventHandler(object sender, IncludedFileEventArgs e);
/// <summary>
/// Event args for included file event.
/// </summary>
public class IncludedFileEventArgs : EventArgs
{
/// <summary>
/// Creates a new IncludedFileEventArgs.
/// </summary>
/// <param name="sourceLineNumbers">Source line numbers for the included file.</param>
/// <param name="fullName">The full path of the included file.</param>
public IncludedFileEventArgs(SourceLineNumber sourceLineNumbers, string fullName)
{
this.SourceLineNumbers = sourceLineNumbers;
this.FullName = fullName;
}
/// <summary>
/// Gets the full path of the included file.
/// </summary>
/// <value>The full path of the included file.</value>
public string FullName { get; }
/// <summary>
/// Gets the source line numbers.
/// </summary>
/// <value>The source line numbers.</value>
public SourceLineNumber SourceLineNumbers { get; }
}
}
|