| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- //
- // System.Runtime.Remoting.ObjRef.cs
- //
- // Author:
- // Miguel de Icaza ([email protected])
- //
- // (C) Ximian, Inc. http://www.ximian.com
- //
- //
- // FIXME: This is just a skeleton for practical purposes.
- //
- using System;
- using System.Runtime.Serialization;
- namespace System.Runtime.Remoting {
- public class ObjRef : IObjectReference, ISerializable {
- MarshalByRefObject mbr;
- SerializationInfo si;
- Type type;
-
- public ObjRef ()
- {
- }
-
- public ObjRef (MarshalByRefObject mbr, Type type)
- {
- this.mbr = mbr;
- this.type = type;
- }
- public ObjRef (SerializationInfo si, StreamingContext sc)
- {
- // FIXME: Implement.
- //
- // This encarnates the object from serialized data.
- }
- public virtual void GetObjectData (SerializationInfo si, StreamingContext sc)
- {
- // FIXME:
- }
- public virtual object GetRealObject (StreamingContext sc)
- {
- // FIXME:
-
- return null;
- }
- public bool IsFromThisAppDomain ()
- {
- // FIXME:
-
- return true;
- }
- public bool IsFromThisProcess ()
- {
- // FIXME:
-
- return true;
- }
- }
- }
|