Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Willemoes Hansen <mwh@mono-cvs.ximian.com>2003-03-28 00:04:16 +0300
committerMartin Willemoes Hansen <mwh@mono-cvs.ximian.com>2003-03-28 00:04:16 +0300
commitfa24deadd011e63791543d61802224a261a4ca70 (patch)
tree99d29a7fe20208679e7502c8eb2b6efe0c9054f3 /mcs/class/System/System.ComponentModel.Design.Serialization
parentc0819f5bcf3d33c7aaca14574246b9db7ad40485 (diff)
* Stubed rest of System.ComponentModel.Design.Serialization
svn path=/trunk/mcs/; revision=12875
Diffstat (limited to 'mcs/class/System/System.ComponentModel.Design.Serialization')
-rw-r--r--mcs/class/System/System.ComponentModel.Design.Serialization/DesignerLoader.cs38
-rw-r--r--mcs/class/System/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.cs55
-rw-r--r--mcs/class/System/System.ComponentModel.Design.Serialization/IDesignerSerializationProvider.cs4
-rw-r--r--mcs/class/System/System.ComponentModel.Design.Serialization/InstanceDescriptor.cs57
-rw-r--r--mcs/class/System/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.cs2
-rw-r--r--mcs/class/System/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.cs6
6 files changed, 159 insertions, 3 deletions
diff --git a/mcs/class/System/System.ComponentModel.Design.Serialization/DesignerLoader.cs b/mcs/class/System/System.ComponentModel.Design.Serialization/DesignerLoader.cs
index e69de29bb2d..a6f66e740bc 100644
--- a/mcs/class/System/System.ComponentModel.Design.Serialization/DesignerLoader.cs
+++ b/mcs/class/System/System.ComponentModel.Design.Serialization/DesignerLoader.cs
@@ -0,0 +1,38 @@
+//
+// System.ComponentModel.Design.Serialization.DesignerLoader
+//
+// Authors:
+// Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design.Serialization
+{
+ public abstract class DesignerLoader
+ {
+ [MonoTODO]
+ protected DesignerLoader()
+ {
+ }
+
+ public virtual bool Loading {
+ [MonoTODO]
+ get { throw new NotImplementedException(); }
+ }
+
+ public abstract void BeginLoad (IDesignerLoaderHost host);
+ public abstract void Dispose();
+
+ [MonoTODO]
+ public virtual void Flush()
+ {
+ throw new NotImplementedException();
+ }
+
+ [MonoTODO]
+ ~DesignerLoader()
+ {
+ }
+ }
+}
diff --git a/mcs/class/System/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.cs b/mcs/class/System/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.cs
index e69de29bb2d..63bda459810 100644
--- a/mcs/class/System/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.cs
+++ b/mcs/class/System/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.cs
@@ -0,0 +1,55 @@
+//
+// System.ComponentModel.Design.Serialization.DesignerSerializerAttribute.cs
+//
+// Authors:
+// Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design.Serialization
+{
+ [AttributeUsage(AttributeTargets.Class |
+ AttributeTargets.Interface)]
+ public sealed class DesignerSerializerAttribute : Attribute
+ {
+ [MonoTODO]
+ public DesignerSerializerAttribute (string serializerTypeName,
+ string baseSerializerTypeName)
+ {
+ }
+
+ [MonoTODO]
+ public DesignerSerializerAttribute (string serializerTypeName,
+ Type baseSerializerType)
+ {
+ }
+
+ [MonoTODO]
+ public DesignerSerializerAttribute (Type serializerType,
+ Type baseSerializerType)
+ {
+ }
+
+ public string SerializerBaseTypeName {
+ [MonoTODO]
+ get { throw new NotImplementedException(); }
+ }
+
+ public string SerializerTypeName {
+ [MonoTODO]
+ get { throw new NotImplementedException(); }
+ }
+
+ public override object TypeId {
+ [MonoTODO]
+ get { throw new NotImplementedException(); }
+ }
+
+ [MonoTODO]
+ public override int GetHashCode()
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/mcs/class/System/System.ComponentModel.Design.Serialization/IDesignerSerializationProvider.cs b/mcs/class/System/System.ComponentModel.Design.Serialization/IDesignerSerializationProvider.cs
index c793424a607..1a996e70a91 100644
--- a/mcs/class/System/System.ComponentModel.Design.Serialization/IDesignerSerializationProvider.cs
+++ b/mcs/class/System/System.ComponentModel.Design.Serialization/IDesignerSerializationProvider.cs
@@ -12,6 +12,8 @@ namespace System.ComponentModel.Design.Serialization
{
public interface IDesignerSerializationProvider
{
- object GetSerializer (IDesignerSerializationManager manager, object currentSerializer, Type objectType, Type serializerType);
+ object GetSerializer (IDesignerSerializationManager manager,
+ object currentSerializer, Type objectType,
+ Type serializerType);
}
}
diff --git a/mcs/class/System/System.ComponentModel.Design.Serialization/InstanceDescriptor.cs b/mcs/class/System/System.ComponentModel.Design.Serialization/InstanceDescriptor.cs
index e69de29bb2d..a944813a901 100644
--- a/mcs/class/System/System.ComponentModel.Design.Serialization/InstanceDescriptor.cs
+++ b/mcs/class/System/System.ComponentModel.Design.Serialization/InstanceDescriptor.cs
@@ -0,0 +1,57 @@
+//
+// System.ComponentModel.Design.Serialization.InstanceDescriptor
+//
+// Authors:
+// Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Collections;
+using System.Reflection;
+
+namespace System.ComponentModel.Design.Serialization
+{
+ public sealed class InstanceDescriptor
+ {
+ [MonoTODO]
+ public InstanceDescriptor (MemberInfo info,
+ ICollection collection)
+ {
+ }
+
+ [MonoTODO]
+ public InstanceDescriptor(MemberInfo info,
+ ICollection coolection,
+ bool boolean)
+ {
+ throw new NotImplementedException();
+ }
+
+ public ICollection Arguments {
+ [MonoTODO]
+ get { throw new NotImplementedException(); }
+ }
+
+ public bool IsComplete {
+ [MonoTODO]
+ get { throw new NotImplementedException(); }
+ }
+
+ public MemberInfo MemberInfo {
+ [MonoTODO]
+ get { throw new NotImplementedException(); }
+ }
+
+ [MonoTODO]
+ public object Invoke()
+ {
+ throw new NotImplementedException();
+ }
+
+ [MonoTODO]
+ ~InstanceDescriptor()
+ {
+ }
+ }
+}
diff --git a/mcs/class/System/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.cs b/mcs/class/System/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.cs
index c4f45283bee..b9652a42657 100644
--- a/mcs/class/System/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.cs
+++ b/mcs/class/System/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.cs
@@ -6,8 +6,6 @@
// (C) Alejandro Sánchez Acosta
//
-using System.Web.UI.Design;
-
namespace System.ComponentModel.Design.Serialization
{
[Serializable]
diff --git a/mcs/class/System/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.cs b/mcs/class/System/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.cs
index eef6ade5b0c..ac6f9767bb9 100644
--- a/mcs/class/System/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.cs
+++ b/mcs/class/System/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.cs
@@ -71,5 +71,11 @@ namespace System.ComponentModel.Design.Serialization
public override object TypeId {
get { throw new NotImplementedException ();}
}
+
+ [MonoTODO]
+ public override int GetHashCode()
+ {
+ throw new NotImplementedException();
+ }
}
}