30 lines
761 B
C#
30 lines
761 B
C#
using System;
|
|
|
|
namespace Mustache
|
|
{
|
|
/// <summary>
|
|
/// Holds the information about a key that was found.
|
|
/// </summary>
|
|
public class KeyFoundEventArgs : EventArgs
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of a KeyFoundEventArgs.
|
|
/// </summary>
|
|
/// <param name="key">The fully-qualified key.</param>
|
|
internal KeyFoundEventArgs(string key, object value)
|
|
{
|
|
Key = key;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the fully-qualified key.
|
|
/// </summary>
|
|
public string Key { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the object to use as the substitute.
|
|
/// </summary>
|
|
public object Substitute { get; set; }
|
|
}
|
|
}
|