// 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 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
{
private SourceLineNumber sourceLineNumbers;
private string fullName;
///
/// 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 { return this.fullName; }
}
///
/// Gets the source line numbers.
///
/// The source line numbers.
public SourceLineNumber SourceLineNumbers
{
get { return this.sourceLineNumbers; }
}
}
}