diff options
author | Andreas N <andreas@mono-cvs.ximian.com> | 2003-11-12 23:22:54 +0300 |
---|---|---|
committer | Andreas N <andreas@mono-cvs.ximian.com> | 2003-11-12 23:22:54 +0300 |
commit | 9a51f6d10087764bc18c6383f0ca7a07880c21dc (patch) | |
tree | 27637bb03df32da419d6fa79525b36bf13b83e76 /mcs/class/System/System.ComponentModel | |
parent | 5e75f78ee7fb7e4f1956fb15752c6ba9189a9f38 (diff) |
2003-11-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ComponentResourceManager.cs: Added and partially implemented
svn path=/trunk/mcs/; revision=19907
Diffstat (limited to 'mcs/class/System/System.ComponentModel')
-rw-r--r-- | mcs/class/System/System.ComponentModel/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/System/System.ComponentModel/ComponentResourceManager.cs | 42 |
2 files changed, 46 insertions, 0 deletions
diff --git a/mcs/class/System/System.ComponentModel/ChangeLog b/mcs/class/System/System.ComponentModel/ChangeLog index 21777a6e411..114164a593b 100644 --- a/mcs/class/System/System.ComponentModel/ChangeLog +++ b/mcs/class/System/System.ComponentModel/ChangeLog @@ -1,3 +1,7 @@ +2003-11-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com> + + * ComponentResourceManager.cs: Added and partially implemented + 2003-09-13 Duncan Mak <duncan@ximian.com> Patch from Jörg Rosenkranz <joergr@voelcker.com>, this fixes the diff --git a/mcs/class/System/System.ComponentModel/ComponentResourceManager.cs b/mcs/class/System/System.ComponentModel/ComponentResourceManager.cs new file mode 100644 index 00000000000..ee090ae6760 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/ComponentResourceManager.cs @@ -0,0 +1,42 @@ +// +// System.ComponentModel.ComponentResourceManager.cs +// +// Author: +// Andreas Nahr (ClassDevelopment@A-SoftTech.com) +// +// (C) 2003 Andreas Nahr +// +// + +#if NET_1_1 + +using System.Resources; +using System.Globalization; + +namespace System.ComponentModel { + + public class ComponentResourceManager : ResourceManager + { + public ComponentResourceManager () + { + } + + public ComponentResourceManager (Type t) + : base (t) + { + } + + public void ApplyResources (object value, string objectName) + { + ApplyResources (value, objectName, null); + } + + [MonoTODO("Implement")] + public virtual void ApplyResources (object value, string objectName, CultureInfo culture) + { + throw new NotImplementedException (); + } + } +} + +#endif |