using System; namespace DelftTools.Utils.PropertyBag { /// /// Represents a single property in a PropertySpec. /// public class PropertySpec { /// /// Initializes a new instance of the PropertySpec class. /// /// The name of the property displayed in the property grid. /// A Type that represents the type of the property. public PropertySpec(string name, Type type) { Name = name; TypeName = type.AssemblyQualifiedName; } /// /// Gets or sets a collection of additional Attributes for this property. This can /// be used to specify attributes beyond those supported intrinsically by the /// PropertySpec class, such as ReadOnly and Browsable. /// public Attribute[] Attributes { get; set; } /// /// Gets or sets the name of this property. /// public string Name { get; private set; } /// /// Gets or sets the fully qualfied name of the type of this /// property. /// public string TypeName { get; private set; } } }