* ChangeLog: added file
[mono.git] / mcs / class / System.Messaging / System.Messaging.Design / TimeoutConverter.cs
1 //
2 // System.Messaging.Design.TimeoutConverter
3 //
4 // Authors:
5 //      Gert Driesen (drieseng@users.sourceforge.net)
6 //
7 // (C) 2004 Novell
8 //
9
10 using System;
11 using System.ComponentModel;
12 using System.Globalization;
13
14 namespace System.Messaging
15 {
16         internal class TimeoutConverter : TypeConverter
17         {
18                 public TimeoutConverter ()
19                 {
20                 }
21
22                 public override bool CanConvertFrom (ITypeDescriptorContext context, Type sourceType)
23                 {
24                         if (sourceType == typeof(string))
25                                 return true;
26
27                         return base.CanConvertFrom (context, sourceType);
28                 }
29
30                 [MonoTODO]
31                 public override object ConvertFrom (ITypeDescriptorContext context, CultureInfo culture, object value)
32                 {
33                         throw new NotImplementedException ();
34                 }
35
36                 [MonoTODO]
37                 public override object ConvertTo (ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
38                 {
39                         throw new NotImplementedException ();
40                 }
41         }
42 }