using System;
namespace Mustache
{
///
/// Holds the information about a key that was found.
///
public class KeyFoundEventArgs : EventArgs
{
///
/// Initializes a new instance of a KeyFoundEventArgs.
///
/// The fully-qualified key.
internal KeyFoundEventArgs(string key, object value)
{
Key = key;
Substitute = value;
}
///
/// Gets the fully-qualified key.
///
public string Key { get; private set; }
///
/// Gets or sets the object to use as the substitute.
///
public object Substitute { get; set; }
}
}