using System;
namespace RGB.NET.Core
{
public class ResolvePathEventArgs : EventArgs
{
#region Properties & Fields
///
/// Gets the filename used to resolve the path.
/// This has to be checked for null since it'S possible that only is used.
/// Also check before use.
///
public string RelativePart { get; }
///
/// Gets the filename used to resolve the path.
/// This has to be checked for null since it'S possible that only is used.
/// Also check before use.
///
public string FileName { get; }
///
/// Gets the relative path used to resolve the path.
/// If this is set and are unused.
///
public string RelativePath { get; }
///
/// Gets or sets the resolved path.
///
public string FinalPath { get; set; }
#endregion
#region Constructors
///
/// Initializes a new instance of the class.
///
/// The filename used to resolve the path.
/// The filename used to resolve the path.
/// The relative part used to resolve the path.
public ResolvePathEventArgs(string relativePart, string fileName, string finalPath)
{
this.RelativePart = relativePart;
this.FileName = fileName;
this.FinalPath = finalPath;
}
///
/// Initializes a new instance of the class.
///
/// The relative path used to resolve the path.
/// The relative part used to resolve the path.
public ResolvePathEventArgs(string relativePath, string finalPath)
{
this.RelativePath = relativePath;
this.FinalPath = finalPath;
}
#endregion
}
}