using System;
namespace JD.Serialization
{
///
/// Sets a property name to the current object when displaying it as ToString().
///
[AttributeUsage(AttributeTargets.All, Inherited = true)]
public class DisplayPropertyNameAttribute : System.Attribute
{
public DisplayPropertyNameAttribute(string propertyName)
{
PropertyName = propertyName;
}
///
/// Specifices the name of the property name to display
///
public string PropertyName { get; set; }
}
}