2 // System.Messaging.Design.TimeoutConverter
5 // Gert Driesen (drieseng@users.sourceforge.net)
11 using System.ComponentModel;
12 using System.Globalization;
14 namespace System.Messaging
16 internal class TimeoutConverter : TypeConverter
18 public TimeoutConverter ()
22 public override bool CanConvertFrom (ITypeDescriptorContext context, Type sourceType)
24 if (sourceType == typeof(string))
27 return base.CanConvertFrom (context, sourceType);
31 public override object ConvertFrom (ITypeDescriptorContext context, CultureInfo culture, object value)
33 throw new NotImplementedException ();
37 public override object ConvertTo (ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
39 throw new NotImplementedException ();