using System; namespace Swan.Configuration { /// /// An attribute used to include additional information to a Property for serialization. /// /// Previously we used DisplayAttribute from DataAnnotation. /// /// [AttributeUsage(AttributeTargets.Property)] public sealed class PropertyDisplayAttribute : Attribute { /// /// Gets or sets the name. /// /// /// The name. /// public string Name { get; set; } /// /// Gets or sets the description. /// /// /// The description. /// public string Description { get; set; } /// /// Gets or sets the name of the group. /// /// /// The name of the group. /// public string GroupName { get; set; } /// /// Gets or sets the default value. /// /// /// The default value. /// public object DefaultValue { get; set; } /// /// Gets or sets the format string to call with method ToString. /// /// /// The format. /// public string Format { get; set; } } }