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/InteropService


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/InteropServices GuidAttribute.cs,1.2,1.3
Date: Fri, 28 Mar 2003 20:38:09 -0500

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

Modified Files:
        GuidAttribute.cs 
Log Message:


Implement the missing parts of the "AppDomain" class.


Index: GuidAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/GuidAttribute.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** GuidAttribute.cs    20 Dec 2001 10:11:39 -0000      1.2
--- GuidAttribute.cs    29 Mar 2003 01:38:07 -0000      1.3
***************
*** 3,7 ****
   *                    "System.Runtime.InteropServices.GuidAttribute" class.
   *
!  * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 3,7 ----
   *                    "System.Runtime.InteropServices.GuidAttribute" class.
   *
!  * Copyright (C) 2001, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 23,33 ****
  {
  
! [TODO]
! public class GuidAttribute : Attribute
  {
  
! // TODO
  
  }; // class GuidAttribute
  
  }; // namespace System.Runtime.InteropServices
--- 23,57 ----
  {
  
! #if !ECMA_COMPAT
! 
! [AttributeUsage(AttributeTargets.Assembly |
!                               AttributeTargets.Class |
!                               AttributeTargets.Struct |
!                               AttributeTargets.Enum |
!                               AttributeTargets.Interface |
!                               AttributeTargets.Delegate)]
! public sealed class GuidAttribute : Attribute
  {
+       // Internal state.
+       private String guid;
+ 
+       // Constructor.
+       public GuidAttribute(String guid)
+                       {
+                               this.guid = guid;
+                       }
  
!       // Get the attribute's value.
!       public String Value
!                       {
!                               get
!                               {
!                                       return guid;
!                               }
!                       }
  
  }; // class GuidAttribute
+ 
+ #endif // !ECMA_COMPAT
  
  }; // namespace System.Runtime.InteropServices





reply via email to

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