using System;
namespace Mustache
{
///
/// Holds the information about a tag that's been converted to text.
///
public class TagFormattedEventArgs : EventArgs
{
///
/// Initializes a new instance of a TagFormattedEventArgs.
///
/// The fully-qualified key.
/// The formatted value being extended.
/// Specifies whether the key was found within triple curly braces.
internal TagFormattedEventArgs(string key, string value, bool isExtension)
{
Key = key;
Substitute = value;
IsExtension = isExtension;
}
///
/// Gets the fully-qualified key.
///
public string Key { get; private set; }
///
/// Gets or sets whether the key appeared within triple curly braces.
///
public bool IsExtension { get; private set; }
///
/// Gets or sets the object to use as the substitute.
///
public string Substitute { get; set; }
}
}