using System; namespace mustache { /// /// Holds the information needed to handle a missing key. /// public class MissingKeyEventArgs : EventArgs { /// /// Initializes a new instance of a MissingKeyEventArgs. /// /// The key that had no match. internal MissingKeyEventArgs(string missingKey) { MissingKey = missingKey; } /// /// Gets the key that could not be found. /// public string MissingKey { get; private set; } /// /// Gets or sets whether to use the substitute. /// public bool Handled { get; set; } /// /// Gets or sets the object to use as the substitute. /// public object Substitute { get; set; } } }