using System;
using System.Configuration;
+using System.ComponentModel;
#if NET_2_0
static TypeElement ()
{
- typeProp = new ConfigurationProperty ("type", typeof (Type), null, ConfigurationPropertyOptions.IsKey);
+ typeProp = new ConfigurationProperty ("type", typeof (Type), null, new TypeTypeConverter(),
+ null, ConfigurationPropertyOptions.IsKey);
properties = new ConfigurationPropertyCollection ();
properties.Add (typeProp);
{
}
-#if notyet
- [TypeConverter (typeof (TypeAndNameConverter))]
-#endif
+ [TypeConverter (typeof (TypeTypeConverter))]
[ConfigurationProperty ("type", Options = ConfigurationPropertyOptions.IsKey)]
public Type Type {
get { return (Type) base [typeProp];}