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 fully-qualified key. /// The part of the key that could not be found. internal MissingKeyEventArgs(string key, string missingMember) { Key = key; MissingMember = missingMember; } /// /// Gets the fully-qualified key. /// public string Key { get; private set; } /// /// Gets the part of the key that could not be found. /// public string MissingMember { 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; } } }