dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting Objec


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting ObjectHandle.cs,1.2,1.3
Date: Thu, 28 Nov 2002 17:28:01 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting
In directory subversions:/tmp/cvs-serv5285/runtime/System/Runtime/Remoting

Modified Files:
        ObjectHandle.cs 
Log Message:


Implement the missing functionality in "System.Activator".


Index: ObjectHandle.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/ObjectHandle.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** ObjectHandle.cs     20 Dec 2001 10:11:39 -0000      1.2
--- ObjectHandle.cs     28 Nov 2002 22:27:59 -0000      1.3
***************
*** 26,29 ****
--- 26,43 ----
  public class ObjectHandle
  {
+       // Internal state.
+       private Object obj;
+ 
+       // Constructor.
+       public ObjectHandle(Object obj)
+                       {
+                               this.obj = obj;
+                       }
+ 
+       // Unwrap the object handle.
+       public Object Unwrap()
+                       {
+                               return obj;
+                       }
  
  // TODO





reply via email to

[Prev in Thread] Current Thread [Next in Thread]