Changeset 1199 for trunk/sources/HeuristicLab.PluginInfrastructure
- Timestamp:
- 02/02/09 19:56:52 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/PluginManager.cs
r1189 r1199 207 207 pset.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution)); 208 208 pset.AddPermission(new ReflectionPermission(PermissionState.Unrestricted)); 209 /*foreach (PluginInfo plugin in depPlugins) { 209 FileIOPermission fPerm = new FileIOPermission(PermissionState.None); 210 211 foreach (PluginInfo plugin in depPlugins) { 210 212 foreach(String assemblies in plugin.Assemblies) 211 pset.AddPermission(new FileIOPermission(FileIOPermissionAccess.Read, assemblies)); 212 }*/ 213 pset.AddPermission(new FileIOPermission(PermissionState.Unrestricted)); 213 fPerm.AddPathList(FileIOPermissionAccess.AllAccess, assemblies); 214 } 215 216 pset.AddPermission(fPerm); 217 214 218 } else { 215 219 pset = new PermissionSet(PermissionState.Unrestricted);
Note: See TracChangeset
for help on using the changeset viewer.