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. /// Specifies whether the key was found within triple curly braces. internal KeyFoundEventArgs(string key, object value, bool isExtension) { Key = key; Substitute = value; } /// /// Gets the fully-qualified key. /// public string Key { get; } /// /// Gets or sets whether the key appeared within triple curly braces. /// public bool IsExtension { get; } /// /// Gets or sets the object to use as the substitute. /// public object Substitute { get; set; } } }