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