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 AppDomain.cs,1.21,1.2


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System AppDomain.cs,1.21,1.22 _AppDomain.cs,1.7,1.8
Date: Wed, 28 May 2003 23:13:00 -0400

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

Modified Files:
        AppDomain.cs _AppDomain.cs 
Log Message:


Add new profile options - CONFIG_PERMISSIONS and CONFIG_POLICY_OBJECTS.


Index: AppDomain.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/AppDomain.cs,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** AppDomain.cs        29 May 2003 01:22:40 -0000      1.21
--- AppDomain.cs        29 May 2003 03:12:58 -0000      1.22
***************
*** 635,638 ****
--- 635,640 ----
                        }
  
+ #if CONFIG_POLICY_OBJECTS
+ 
        // Set policy information for this application domain.
        public void SetAppDomainPolicy(PolicyLevel domainPolicy)
***************
*** 641,644 ****
--- 643,660 ----
                        }
  
+       // Set the policy for principals.
+       public void SetPrincipalPolicy(PrincipalPolicy policy)
+                       {
+                               // Nothing to do here: we don't use such 
policies.
+                       }
+ 
+       // Set the default principal object for a thread.
+       public void SetThreadPrincipal(IPrincipal principal)
+                       {
+                               // Nothing to do here: we don't use such 
principals.
+                       }
+ 
+ #endif
+ 
        // Set the cache location for shadow copied assemblies.
        public void SetCachePath(String s)
***************
*** 660,669 ****
                        }
  
-       // Set the policy for principals.
-       public void SetPrincipalPolicy(PrincipalPolicy policy)
-                       {
-                               // Nothing to do here: we don't use such 
policies.
-                       }
- 
        // Turn on shadow copying.
        public void SetShadowCopyFiles()
--- 676,679 ----
***************
*** 676,685 ****
                        {
                                setup.ShadowCopyDirectories = s;
-                       }
- 
-       // Set the default principal object for a thread.
-       public void SetThreadPrincipal(IPrincipal principal)
-                       {
-                               // Nothing to do here: we don't use such 
principals.
                        }
  
--- 686,689 ----

Index: _AppDomain.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/_AppDomain.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** _AppDomain.cs       29 May 2003 01:22:40 -0000      1.7
--- _AppDomain.cs       29 May 2003 03:12:58 -0000      1.8
***************
*** 155,161 ****
--- 155,171 ----
                                  Evidence assemblySecurity);
  
+ #if CONFIG_POLICY_OBJECTS
+ 
        // Set policy information for this application domain.
        void SetAppDomainPolicy(PolicyLevel domainPolicy);
  
+       // Set the policy for principals.
+       void SetPrincipalPolicy(PrincipalPolicy policy);
+ 
+       // Set the default principal object for a thread.
+       void SetThreadPrincipal(IPrincipal principal);
+ 
+ #endif
+ 
        // Set the cache location for shadow copied assemblies.
        void SetCachePath(String s);
***************
*** 164,175 ****
        void SetData(String name, Object data);
  
-       // Set the policy for principals.
-       void SetPrincipalPolicy(PrincipalPolicy policy);
- 
        // Set the location of the shadow copy directory.
        void SetShadowCopyPath(String s);
- 
-       // Set the default principal object for a thread.
-       void SetThreadPrincipal(IPrincipal principal);
  
        // Methods that are normally in System.Object, but which must be
--- 174,179 ----





reply via email to

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