using System;
using mustache.Properties;
namespace mustache
{
///
/// Holds the information descibing a key that is found in a template.
///
public class PlaceholderFoundEventArgs : EventArgs
{
///
/// Initializes a new instance of a PlaceholderFoundEventArgs.
///
/// The key that was found.
/// The alignment that will be applied to the substitute value.
/// The formatting that will be applied to the substitute value.
internal PlaceholderFoundEventArgs(string key, string alignment, string formatting)
{
Key = key;
Alignment = alignment;
Formatting = formatting;
}
///
/// Gets or sets the key that was found.
///
public string Key { get; set; }
///
/// Gets or sets the alignment that will be applied to the substitute value.
///
public string Alignment { get; set; }
///
/// Gets or sets the formatting that will be applied to the substitute value.
///
public string Formatting { get; set; }
}
}