| 123456789101112131415161718192021222324252627282930313233 |
- //
- // System.ComponentModel.ComponentConverter.cs
- //
- // Authors:
- // Martin Willemoes Hansen ([email protected])
- // Andreas Nahr ([email protected])
- //
- // (C) 2003 Martin Willemoes Hansen
- // (C) 2003 Andreas Nahr
- //
- namespace System.ComponentModel
- {
- public class ComponentConverter : ReferenceConverter
- {
- public ComponentConverter (Type type) : base (type)
- {
- }
- public override PropertyDescriptorCollection GetProperties (ITypeDescriptorContext context,
- object value,
- Attribute[] attributes)
- {
- return TypeDescriptor.GetProperties (value, attributes);
- }
- public override bool GetPropertiesSupported (ITypeDescriptorContext context)
- {
- return true;
- }
- }
- }
|