diff options
author | Martin Willemoes Hansen <mwh@mono-cvs.ximian.com> | 2003-03-31 15:52:28 +0400 |
---|---|---|
committer | Martin Willemoes Hansen <mwh@mono-cvs.ximian.com> | 2003-03-31 15:52:28 +0400 |
commit | 2076fb1c678088881c6965886f8656f8b3fb25e5 (patch) | |
tree | 5fc63a58cf7788daec74226734cd316d51dcd5c5 /mcs/class/System/System.ComponentModel | |
parent | 25b9e08abd01bba0005333c45558f3c78a8f6a62 (diff) |
* Stubed rest of System.ComponentModel
svn path=/trunk/mcs/; revision=12967
Diffstat (limited to 'mcs/class/System/System.ComponentModel')
37 files changed, 1767 insertions, 0 deletions
diff --git a/mcs/class/System/System.ComponentModel/AmbientValueAttribute.cs b/mcs/class/System/System.ComponentModel/AmbientValueAttribute.cs new file mode 100644 index 00000000000..9b869092232 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/AmbientValueAttribute.cs @@ -0,0 +1,92 @@ +// +// System.ComponentModel.AmbientValueAttribute +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + [AttributeUsage(AttributeTargets.All)] + public sealed class AmbientValueAttribute : Attribute + { + [MonoTODO] + public AmbientValueAttribute (bool value) + { + } + + [MonoTODO] + public AmbientValueAttribute (byte value) + { + } + + [MonoTODO] + public AmbientValueAttribute (char value) + { + } + + [MonoTODO] + public AmbientValueAttribute (double value) + { + } + + [MonoTODO] + public AmbientValueAttribute (short value) + { + } + + [MonoTODO] + public AmbientValueAttribute (int value) + { + } + + [MonoTODO] + public AmbientValueAttribute (long value) + { + } + + [MonoTODO] + public AmbientValueAttribute (object value) + { + } + + [MonoTODO] + public AmbientValueAttribute (float value) + { + } + + [MonoTODO] + public AmbientValueAttribute (string value) + { + } + + [MonoTODO] + public AmbientValueAttribute (Type type, string value) + { + } + + public object Value { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + [MonoTODO] + public override bool Equals (object obj) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override int GetHashCode() + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~AmbientValueAttribute() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/ArrayConverter.cs b/mcs/class/System/System.ComponentModel/ArrayConverter.cs new file mode 100644 index 00000000000..6592f35a9ae --- /dev/null +++ b/mcs/class/System/System.ComponentModel/ArrayConverter.cs @@ -0,0 +1,47 @@ +// +// System.ComponentModel.ArrayConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +using System.Globalization; + +namespace System.ComponentModel +{ + public class ArrayConverter : CollectionConverter + { + [MonoTODO] + public ArrayConverter() + { + } + + [MonoTODO] + public override object ConvertTo (ITypeDescriptorContext context, + CultureInfo culture, + object value, + Type destinationType) + { + throw new NotImplementedException(); + } + + public override PropertyDescriptorCollection GetProperties (ITypeDescriptorContext context, + object value, + Attribute[] attributes) + { + throw new NotImplementedException(); + } + + public override bool GetPropertiesSupported (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~ArrayConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/BooleanConverter.cs b/mcs/class/System/System.ComponentModel/BooleanConverter.cs new file mode 100644 index 00000000000..a6900ea3555 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/BooleanConverter.cs @@ -0,0 +1,59 @@ +// +// System.ComponentModel.BooleanConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +using System.Globalization; + +namespace System.ComponentModel +{ + public class BooleanConverter : TypeConverter + { + [MonoTODO] + public BooleanConverter() + { + } + + [MonoTODO] + public override bool CanConvertFrom (ITypeDescriptorContext context, + Type sourceType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertFrom (ITypeDescriptorContext context, + CultureInfo culture, + object value) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override StandardValuesCollection GetStandardValues (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool GetStandardValuesExclusive (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool GetStandardValuesSupported (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~BooleanConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/ByteConverter.cs b/mcs/class/System/System.ComponentModel/ByteConverter.cs new file mode 100644 index 00000000000..05668bc8113 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/ByteConverter.cs @@ -0,0 +1,24 @@ +// +// System.ComponentModel.ByteConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public class ByteConverter : BaseNumberConverter + { + [MonoTODO] + public ByteConverter() + { + } + + [MonoTODO] + ~ByteConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/CharConverter.cs b/mcs/class/System/System.ComponentModel/CharConverter.cs new file mode 100644 index 00000000000..c5e5860d287 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/CharConverter.cs @@ -0,0 +1,50 @@ +// +// System.ComponentModel.CharConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +using System.Globalization; + +namespace System.ComponentModel +{ + public class CharConverter : TypeConverter + { + [MonoTODO] + public CharConverter() + { + } + + [MonoTODO] + public override bool CanConvertFrom (ITypeDescriptorContext context, + Type sourceType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertFrom (ITypeDescriptorContext context, + CultureInfo culture, + object value) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertTo (ITypeDescriptorContext context, + CultureInfo culture, + object value, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~CharConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/CollectionConverter.cs b/mcs/class/System/System.ComponentModel/CollectionConverter.cs new file mode 100644 index 00000000000..4d14fcd00da --- /dev/null +++ b/mcs/class/System/System.ComponentModel/CollectionConverter.cs @@ -0,0 +1,49 @@ +// +// System.ComponentModel.CollectionConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +using System.Globalization; + +namespace System.ComponentModel +{ + public class CollectionConverter : TypeConverter + { + [MonoTODO] + public CollectionConverter() + { + } + + [MonoTODO] + public override object ConvertTo (ITypeDescriptorContext context, + CultureInfo culture, + object value, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override PropertyDescriptorCollection GetProperties (ITypeDescriptorContext context, + object value, + Attribute[] attributes) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool GetPropertiesSupported (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~CollectionConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/ComponentConverter.cs b/mcs/class/System/System.ComponentModel/ComponentConverter.cs new file mode 100644 index 00000000000..c1c93dd95a5 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/ComponentConverter.cs @@ -0,0 +1,38 @@ +// +// System.ComponentModel.ComponentConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public class ComponentConverter : ReferenceConverter + { + [MonoTODO] + public ComponentConverter (Type type) : base (type) + { + } + + [MonoTODO] + public override PropertyDescriptorCollection GetProperties (ITypeDescriptorContext context, + object value, + Attribute[] attributes) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool GetPropertiesSupported (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~ComponentConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/ComponentEditor.cs b/mcs/class/System/System.ComponentModel/ComponentEditor.cs new file mode 100644 index 00000000000..b730e4ad0b8 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/ComponentEditor.cs @@ -0,0 +1,33 @@ +// +// System.ComponentModel.ComponentEditor +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public abstract class ComponentEditor + { + [MonoTODO] + protected ComponentEditor() + { + } + + [MonoTODO] + public bool EditComponent (object component) + { + throw new NotImplementedException(); + } + + public abstract bool EditComponent (ITypeDescriptorContext context, + object component); + + [MonoTODO] + ~ComponentEditor() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/CultureInfoConverter.cs b/mcs/class/System/System.ComponentModel/CultureInfoConverter.cs new file mode 100644 index 00000000000..a58c3a996a2 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/CultureInfoConverter.cs @@ -0,0 +1,75 @@ +// +// System.ComponentModel.CultureInfoConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +using System.Globalization; + +namespace System.ComponentModel +{ + public class CultureInfoConverter : TypeConverter + { + [MonoTODO] + public CultureInfoConverter() + { + } + + [MonoTODO] + public override bool CanConvertFrom (ITypeDescriptorContext context, + Type sourceType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool CanConvertTo (ITypeDescriptorContext context, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertFrom (ITypeDescriptorContext context, + CultureInfo culture, + object value) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertTo (ITypeDescriptorContext context, + CultureInfo culture, + object value, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override StandardValuesCollection GetStandardValues (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool GetStandardValuesExclusive (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool GetStandardValuesSupported (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~CultureInfoConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/DateTimeConverter.cs b/mcs/class/System/System.ComponentModel/DateTimeConverter.cs new file mode 100644 index 00000000000..800d7cbe38c --- /dev/null +++ b/mcs/class/System/System.ComponentModel/DateTimeConverter.cs @@ -0,0 +1,57 @@ +// +// System.ComponentModel.DateTimeConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +using System.Globalization; + +namespace System.ComponentModel +{ + public class DateTimeConverter : TypeConverter + { + [MonoTODO] + public DateTimeConverter() + { + } + + [MonoTODO] + public override bool CanConvertFrom (ITypeDescriptorContext context, + Type sourceType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool CanConvertTo (ITypeDescriptorContext context, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertFrom (ITypeDescriptorContext context, + CultureInfo culture, + object value) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertTo (ITypeDescriptorContext context, + CultureInfo culture, + object value, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~DateTimeConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/DecimalConverter.cs b/mcs/class/System/System.ComponentModel/DecimalConverter.cs new file mode 100644 index 00000000000..d06297288e9 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/DecimalConverter.cs @@ -0,0 +1,42 @@ +// +// System.ComponentModel.DecimalConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +using System.Globalization; + +namespace System.ComponentModel +{ + public class DecimalConverter : BaseNumberConverter + { + [MonoTODO] + public DecimalConverter() + { + } + + [MonoTODO] + public override bool CanConvertTo (ITypeDescriptorContext context, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertTo (ITypeDescriptorContext context, + CultureInfo culture, + object value, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~DecimalConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/DoubleConverter.cs b/mcs/class/System/System.ComponentModel/DoubleConverter.cs new file mode 100644 index 00000000000..2284bc3a5d3 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/DoubleConverter.cs @@ -0,0 +1,24 @@ +// +// System.ComponentModel.DoubleConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public class DoubleConverter : BaseNumberConverter + { + [MonoTODO] + public DoubleConverter() + { + } + + [MonoTODO] + ~DoubleConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/GuidConverter.cs b/mcs/class/System/System.ComponentModel/GuidConverter.cs new file mode 100644 index 00000000000..2281d57cd9a --- /dev/null +++ b/mcs/class/System/System.ComponentModel/GuidConverter.cs @@ -0,0 +1,57 @@ +// +// System.ComponentModel.GuidConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +using System.Globalization; + +namespace System.ComponentModel +{ + public class GuidConverter : TypeConverter + { + [MonoTODO] + public GuidConverter() + { + } + + [MonoTODO] + public override bool CanConvertFrom (ITypeDescriptorContext context, + Type sourceType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool CanConvertTo (ITypeDescriptorContext context, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertFrom (ITypeDescriptorContext context, + CultureInfo culture, + object value) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertTo (ITypeDescriptorContext context, + CultureInfo culture, + object value, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~GuidConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/ImmutableObjectAttribute.cs b/mcs/class/System/System.ComponentModel/ImmutableObjectAttribute.cs new file mode 100644 index 00000000000..b800d07b24d --- /dev/null +++ b/mcs/class/System/System.ComponentModel/ImmutableObjectAttribute.cs @@ -0,0 +1,51 @@ +// +// System.ComponentModel.ImmutableObjectAttribute +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + [AttributeUsage(AttributeTargets.All)] + public sealed class ImmutableObjectAttribute : Attribute + { + public static readonly ImmutableObjectAttribute No; + public static readonly ImmutableObjectAttribute Yes; + + [MonoTODO] + public ImmutableObjectAttribute (bool immutable) + { + } + + public bool Immutable { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + [MonoTODO] + public override bool Equals (object obj) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override int GetHashCode() + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool IsDefaultAttribute() + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~ImmutableObjectAttribute() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/InstallerTypeAttribute.cs b/mcs/class/System/System.ComponentModel/InstallerTypeAttribute.cs new file mode 100644 index 00000000000..e6a14e9da3a --- /dev/null +++ b/mcs/class/System/System.ComponentModel/InstallerTypeAttribute.cs @@ -0,0 +1,47 @@ +// +// System.ComponentModel.InstallerTypeAttribute +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + [AttributeUsage(AttributeTargets.Class)] + public class InstallerTypeAttribute : Attribute + { + [MonoTODO] + public InstallerTypeAttribute (string typeName) + { + } + + [MonoTODO] + public InstallerTypeAttribute (Type installerType) + { + } + + public virtual Type InstallerType { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + [MonoTODO] + public override bool Equals (object obj) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override int GetHashCode() + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~InstallerTypeAttribute() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/Int16Converter.cs b/mcs/class/System/System.ComponentModel/Int16Converter.cs new file mode 100644 index 00000000000..8d1d50483a3 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/Int16Converter.cs @@ -0,0 +1,24 @@ +// +// System.ComponentModel.Int16Converter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public class Int16Converter : BaseNumberConverter + { + [MonoTODO] + public Int16Converter() + { + } + + [MonoTODO] + ~Int16Converter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/Int64Converter.cs b/mcs/class/System/System.ComponentModel/Int64Converter.cs new file mode 100644 index 00000000000..c5eca24a010 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/Int64Converter.cs @@ -0,0 +1,24 @@ +// +// System.ComponentModel.Int64Converter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public class Int64Converter : BaseNumberConverter + { + [MonoTODO] + public Int64Converter() + { + } + + [MonoTODO] + ~Int64Converter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/LicFileLicenseProvider.cs b/mcs/class/System/System.ComponentModel/LicFileLicenseProvider.cs new file mode 100644 index 00000000000..2f150a394b0 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/LicFileLicenseProvider.cs @@ -0,0 +1,44 @@ +// +// System.ComponentModel.LicFileLicenseProvider +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public class LicFileLicenseProvider : LicenseProvider + { + [MonoTODO] + public LicFileLicenseProvider() + { + } + + public override License GetLicense (LicenseContext context, + Type type, + object instance, + bool allowExceptions) + { + throw new NotImplementedException(); + } + + [MonoTODO] + protected virtual string GetKey (Type type) + { + throw new NotImplementedException(); + } + + [MonoTODO] + protected virtual bool IsKeyValid (string key, Type type) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~LicFileLicenseProvider() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/License.cs b/mcs/class/System/System.ComponentModel/License.cs new file mode 100644 index 00000000000..1c539a2e5c3 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/License.cs @@ -0,0 +1,27 @@ +// +// System.ComponentModel.License +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public abstract class License : IDisposable + { + [MonoTODO] + protected License() + { + } + + public abstract string LicenseKey { get; } + public abstract void Dispose(); + + [MonoTODO] + ~License() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/LicenseException.cs b/mcs/class/System/System.ComponentModel/LicenseException.cs new file mode 100644 index 00000000000..ede463b5978 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/LicenseException.cs @@ -0,0 +1,56 @@ +// +// System.ComponentModel.LicenseException +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public class LicenseException : SystemException + { + [MonoTODO] + public LicenseException (Type type) + { + } + + [MonoTODO] + public LicenseException (Type type, object instance) + { + } + + [MonoTODO] + public LicenseException (Type type, object instance, + string message) + { + } + + [MonoTODO] + public LicenseException (Type type, object instance, + string message, + Exception innerException) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public Type LicensedType { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + [MonoTODO] + public override string ToString() + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~LicenseException() + { + } + + } +} diff --git a/mcs/class/System/System.ComponentModel/LicenseManager.cs b/mcs/class/System/System.ComponentModel/LicenseManager.cs new file mode 100644 index 00000000000..83fbe48cb27 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/LicenseManager.cs @@ -0,0 +1,85 @@ +// +// System.ComponentModel.LicenseManager +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public sealed class LicenseManager + { + [MonoTODO] + public static LicenseContext CurrentContext { + [MonoTODO] + get { throw new NotImplementedException(); } + [MonoTODO] + set { throw new NotImplementedException(); } + } + + public static LicenseUsageMode UsageMode { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + [MonoTODO] + public static object CreateWithContext (Type type, + LicenseContext creationContext) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public static object CreateWithContext (Type type, + LicenseContext creationContext, + object[] args) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public static bool IsLicensed (Type type) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public static bool IsValid (Type type) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public static bool IsValid (Type type, object instance, + out License license) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public static void LockContext (object contextUser) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public static void UnlockContext (object contextUser) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public static void Validate (Type type) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public static License Validate (Type type, object instance) + { + throw new NotImplementedException(); + } + } +} diff --git a/mcs/class/System/System.ComponentModel/LicenseProvider.cs b/mcs/class/System/System.ComponentModel/LicenseProvider.cs new file mode 100644 index 00000000000..4700c39f4bd --- /dev/null +++ b/mcs/class/System/System.ComponentModel/LicenseProvider.cs @@ -0,0 +1,29 @@ +// +// System.ComponentModel.LicenseProvider +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public abstract class LicenseProvider + { + [MonoTODO] + protected LicenseProvider() + { + } + + public abstract License GetLicense (LicenseContext context, + Type type, + object instance, + bool allowExceptions); + + [MonoTODO] + ~LicenseProvider() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/LicenseProviderAttribute.cs b/mcs/class/System/System.ComponentModel/LicenseProviderAttribute.cs new file mode 100644 index 00000000000..5f177f0a1f7 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/LicenseProviderAttribute.cs @@ -0,0 +1,60 @@ +// +// System.ComponentModel.LicenseProviderAttribute +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + [AttributeUsage(AttributeTargets.Class)] + public sealed class LicenseProviderAttribute : Attribute + { + [MonoTODO] + public LicenseProviderAttribute() + { + } + + [MonoTODO] + public LicenseProviderAttribute (string typeName) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public LicenseProviderAttribute (Type type) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public Type LicenseProvider { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + public override object TypeId { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + [MonoTODO] + public override bool Equals (object value) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override int GetHashCode() + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~LicenseProviderAttribute() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/MergablePropertyAttribute.cs b/mcs/class/System/System.ComponentModel/MergablePropertyAttribute.cs new file mode 100644 index 00000000000..bd07bc20a74 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/MergablePropertyAttribute.cs @@ -0,0 +1,51 @@ +// +// System.ComponentModel.MergablePropertyAttribute +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + [AttributeUsage(AttributeTargets.All)] + public sealed class MergablePropertyAttribute : Attribute + { + public static readonly MergablePropertyAttribute No; + public static readonly MergablePropertyAttribute Yes; + + [MonoTODO] + public MergablePropertyAttribute (bool allowMerge) + { + } + + public bool AllowMerge { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + [MonoTODO] + public override bool Equals (object obj) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override int GetHashCode() + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool IsDefaultAttribute() + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~MergablePropertyAttribute() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/ParenthesizePropertyNameAttribute.cs b/mcs/class/System/System.ComponentModel/ParenthesizePropertyNameAttribute.cs new file mode 100644 index 00000000000..68fd9d69b1d --- /dev/null +++ b/mcs/class/System/System.ComponentModel/ParenthesizePropertyNameAttribute.cs @@ -0,0 +1,55 @@ +// +// System.ComponentModel.ParenthesizePropertyNameAttribute +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + [AttributeUsage(AttributeTargets.All)] + public sealed class ParenthesizePropertyNameAttribute : Attribute + { + public static readonly ParenthesizePropertyNameAttribute Default; + + [MonoTODO] + public ParenthesizePropertyNameAttribute() + { + } + + [MonoTODO] + public ParenthesizePropertyNameAttribute (bool needParenthesis) + { + } + + public bool NeedParenthesis { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + [MonoTODO] + public override bool Equals (object o) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override int GetHashCode() + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool IsDefaultAttribute() + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~ParenthesizePropertyNameAttribute() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/PropertyTabAttribute.cs b/mcs/class/System/System.ComponentModel/PropertyTabAttribute.cs new file mode 100644 index 00000000000..12b6efc7122 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/PropertyTabAttribute.cs @@ -0,0 +1,94 @@ +// +// System.ComponentModel.PropertyTabAttribute +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + [AttributeUsage(AttributeTargets.All)] + public class PropertyTabAttribute : Attribute + { + [MonoTODO] + public PropertyTabAttribute() + { + } + + [MonoTODO] + public PropertyTabAttribute (string tabClassName) + { + } + + [MonoTODO] + public PropertyTabAttribute (Type tabClass) + { + } + + [MonoTODO] + public PropertyTabAttribute (string tabClassName, + PropertyTabScope tabScope) + { + } + + [MonoTODO] + public PropertyTabAttribute (Type tabClass, + PropertyTabScope tabScope) + { + } + + public Type[] TabClasses { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + public PropertyTabScope[] TabScopes { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + [MonoTODO] + public override bool Equals (object other) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public bool Equals (PropertyTabAttribute other) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override int GetHashCode() + { + throw new NotImplementedException(); + } + + protected string[] TabClassNames { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + [MonoTODO] + protected void InitializeArrays (string[] tabClassNames, + PropertyTabScope[] tabScopes) + { + throw new NotImplementedException(); + } + + [MonoTODO] + protected void InitializeArrays (Type[] tabClasses, + PropertyTabScope[] tabScopes) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~PropertyTabAttribute() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/ProvidePropertyAttribute.cs b/mcs/class/System/System.ComponentModel/ProvidePropertyAttribute.cs new file mode 100644 index 00000000000..001ddc612b9 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/ProvidePropertyAttribute.cs @@ -0,0 +1,59 @@ +// +// System.ComponentModel.ProvidePropertyAttribute +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + [AttributeUsage(AttributeTargets.Class)] + public sealed class ProvidePropertyAttribute : Attribute + { + [MonoTODO] + public ProvidePropertyAttribute (string propertyName, + string receiverTypeName) + { + } + + [MonoTODO] + public ProvidePropertyAttribute (string propertyName, + Type receiverType) + { + } + + public string PropertyName { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + public string ReceiverTypeName { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + public override object TypeId { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + [MonoTODO] + public override bool Equals (object obj) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override int GetHashCode() + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~ProvidePropertyAttribute() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/ReferenceConverter.cs b/mcs/class/System/System.ComponentModel/ReferenceConverter.cs new file mode 100644 index 00000000000..662a5234ad4 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/ReferenceConverter.cs @@ -0,0 +1,74 @@ +// +// System.ComponentModel.ReferenceConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +using System.Globalization; + +namespace System.ComponentModel +{ + public class ReferenceConverter : TypeConverter + { + [MonoTODO] + public ReferenceConverter (Type type) + { + } + + [MonoTODO] + public override bool CanConvertFrom (ITypeDescriptorContext context, + Type sourceType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertFrom (ITypeDescriptorContext context, + CultureInfo culture, + object value) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertTo (ITypeDescriptorContext context, + CultureInfo culture, + object value, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override StandardValuesCollection GetStandardValues (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool GetStandardValuesExclusive (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool GetStandardValuesSupported (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + protected virtual bool IsValueAllowed (ITypeDescriptorContext context, object value) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~ReferenceConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/SByteConverter.cs b/mcs/class/System/System.ComponentModel/SByteConverter.cs new file mode 100644 index 00000000000..fbbe2750531 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/SByteConverter.cs @@ -0,0 +1,24 @@ +// +// System.ComponentModel.SByteConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public class SByteConverter : BaseNumberConverter + { + [MonoTODO] + public SByteConverter() + { + } + + [MonoTODO] + ~SByteConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/SingleConverter.cs b/mcs/class/System/System.ComponentModel/SingleConverter.cs new file mode 100644 index 00000000000..322201c5ce6 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/SingleConverter.cs @@ -0,0 +1,25 @@ +// +// System.ComponentModel.SingleConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public class SingleConverter : BaseNumberConverter + { + [MonoTODO] + public SingleConverter() + { + } + + [MonoTODO] + ~SingleConverter() + { + } + + } +} diff --git a/mcs/class/System/System.ComponentModel/TimeSpanConverter.cs b/mcs/class/System/System.ComponentModel/TimeSpanConverter.cs new file mode 100644 index 00000000000..addab8fa3e8 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/TimeSpanConverter.cs @@ -0,0 +1,58 @@ +// +// System.ComponentModel.TimeSpanConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +using System.Globalization; + +namespace System.ComponentModel +{ + public class TimeSpanConverter : TypeConverter + { + [MonoTODO] + public TimeSpanConverter() + { + } + + [MonoTODO] + public override bool CanConvertFrom (ITypeDescriptorContext context, + Type sourceType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool CanConvertTo (ITypeDescriptorContext context, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertFrom (ITypeDescriptorContext context, + CultureInfo culture, + object value) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertTo (ITypeDescriptorContext context, + CultureInfo culture, + object value, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~TimeSpanConverter() + { + } + + } +} diff --git a/mcs/class/System/System.ComponentModel/ToolboxItemFilterAttribute.cs b/mcs/class/System/System.ComponentModel/ToolboxItemFilterAttribute.cs new file mode 100644 index 00000000000..0b31c50be72 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/ToolboxItemFilterAttribute.cs @@ -0,0 +1,65 @@ +// +// System.ComponentModel.ToolboxItemFilterAttribute +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + [AttributeUsage(AttributeTargets.Class)] + [Serializable] + public sealed class ToolboxItemFilterAttribute : Attribute + { + [MonoTODO] + public ToolboxItemFilterAttribute (string filterString) + { + } + + [MonoTODO] + public ToolboxItemFilterAttribute (string filterString, + ToolboxItemFilterType filterType) + { + } + + public string FilterString { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + public ToolboxItemFilterType FilterType { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + public override object TypeId { + [MonoTODO] + get { throw new NotImplementedException(); } + } + + [MonoTODO] + public override bool Equals (object obj) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override int GetHashCode() + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool Match (object obj) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~ToolboxItemFilterAttribute() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/ToolboxItemFilterType.cs b/mcs/class/System/System.ComponentModel/ToolboxItemFilterType.cs new file mode 100644 index 00000000000..9b06abfb26b --- /dev/null +++ b/mcs/class/System/System.ComponentModel/ToolboxItemFilterType.cs @@ -0,0 +1,20 @@ +// +// System.ComponentModel.ToolboxItemFilterType +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + [Serializable] + public enum ToolboxItemFilterType + { + Allow, + Custom, + Prevent, + Require, + } +} diff --git a/mcs/class/System/System.ComponentModel/TypeListConverter.cs b/mcs/class/System/System.ComponentModel/TypeListConverter.cs new file mode 100644 index 00000000000..f304d659627 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/TypeListConverter.cs @@ -0,0 +1,76 @@ +// +// System.ComponentModel.TypeListConverter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +using System.Collections; +using System.Globalization; + +namespace System.ComponentModel +{ + public abstract class TypeListConverter : TypeConverter + { + [MonoTODO] + protected TypeListConverter (Type[] types) + { + } + + [MonoTODO] + public override bool CanConvertFrom (ITypeDescriptorContext context, + Type sourceType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool CanConvertTo (ITypeDescriptorContext context, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertFrom (ITypeDescriptorContext context, + CultureInfo culture, + object value) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override object ConvertTo (ITypeDescriptorContext context, + CultureInfo culture, + object value, + Type destinationType) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override StandardValuesCollection GetStandardValues (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool GetStandardValuesExclusive (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + public override bool GetStandardValuesSupported (ITypeDescriptorContext context) + { + throw new NotImplementedException(); + } + + [MonoTODO] + ~TypeListConverter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/UInt16Converter.cs b/mcs/class/System/System.ComponentModel/UInt16Converter.cs new file mode 100644 index 00000000000..912040138a4 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/UInt16Converter.cs @@ -0,0 +1,24 @@ +// +// System.ComponentModel.UInt16Converter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public class UInt16Converter : BaseNumberConverter + { + [MonoTODO] + public UInt16Converter() + { + } + + [MonoTODO] + ~UInt16Converter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/UInt32Converter.cs b/mcs/class/System/System.ComponentModel/UInt32Converter.cs new file mode 100644 index 00000000000..ce3f077f452 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/UInt32Converter.cs @@ -0,0 +1,24 @@ +// +// System.ComponentModel.UInt32Converter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public class UInt32Converter : BaseNumberConverter + { + [MonoTODO] + public UInt32Converter() + { + } + + [MonoTODO] + ~UInt32Converter() + { + } + } +} diff --git a/mcs/class/System/System.ComponentModel/UInt64Converter.cs b/mcs/class/System/System.ComponentModel/UInt64Converter.cs new file mode 100644 index 00000000000..d363d631324 --- /dev/null +++ b/mcs/class/System/System.ComponentModel/UInt64Converter.cs @@ -0,0 +1,24 @@ +// +// System.ComponentModel.UInt64Converter +// +// Authors: +// Martin Willemoes Hansen (mwh@sysrq.dk) +// +// (C) 2003 Martin Willemoes Hansen +// + +namespace System.ComponentModel +{ + public class UInt64Converter : BaseNumberConverter + { + [MonoTODO] + public UInt64Converter() + { + } + + [MonoTODO] + ~UInt64Converter() + { + } + } +} |