diff options
author | Andreas N <andreas@mono-cvs.ximian.com> | 2003-07-14 02:09:12 +0400 |
---|---|---|
committer | Andreas N <andreas@mono-cvs.ximian.com> | 2003-07-14 02:09:12 +0400 |
commit | 78dc7ab616ff9c86f63ba9eb79bccba9bad6d754 (patch) | |
tree | 9a5fe7b4ff9976378c0df1650441764c53945fb8 /mcs/class/System/System.Diagnostics/PerformanceCounterPermissionEntryCollection.cs | |
parent | 5bc39e4713ae8656b8039516d71fb2ab66d258af (diff) |
2003-07-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* DiagnosticsConfigurationHandler.cs: Removed a never used variable
* EventLog.cs: Small update to prevent a warning
* EventLogPermission.cs: Implemented or implementation added
* EventLogPermissionAttribute.cs: Implemented or implementation added
* EventLogPermissionEntry.cs: Implemented or implementation added
* EventLogPermissionEntryCollection.cs: Implemented or implementation added
* EventLogTraceListener.cs: Implemented or implementation added
* PerformanceCounterManager.cs: Implemented or implementation added
* PerformanceCounterInstaller.cs: Made internal
* PerformanceCounterCategory.cs: Implemented few members
* PerformanceCounterPermission.cs: Implemented or implementation added
* PerformanceCounterPermissionAttribute.cs: Implemented or implementation added
* PerformanceCounterPermissionEntry.cs: Implemented or implementation added
* PerformanceCounterPermissionEntryCollection.cs: Implemented or implementation added
svn path=/trunk/mcs/; revision=16177
Diffstat (limited to 'mcs/class/System/System.Diagnostics/PerformanceCounterPermissionEntryCollection.cs')
-rw-r--r-- | mcs/class/System/System.Diagnostics/PerformanceCounterPermissionEntryCollection.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mcs/class/System/System.Diagnostics/PerformanceCounterPermissionEntryCollection.cs b/mcs/class/System/System.Diagnostics/PerformanceCounterPermissionEntryCollection.cs index 818c3886a7e..06092dcbbf3 100644 --- a/mcs/class/System/System.Diagnostics/PerformanceCounterPermissionEntryCollection.cs +++ b/mcs/class/System/System.Diagnostics/PerformanceCounterPermissionEntryCollection.cs @@ -3,23 +3,28 @@ // // Authors: // Jonathan Pryor (jonpryor@vt.edu) +// Andreas Nahr (ClassDevelopment@A-SoftTech.com) // // (C) 2002 +// (C) 2003 Andreas Nahr // using System; using System.Diagnostics; using System.Collections; using System.Globalization; +using System.Security.Permissions; namespace System.Diagnostics { [Serializable] - public class PerformanceCounterPermissionEntryCollection - : CollectionBase + public class PerformanceCounterPermissionEntryCollection : CollectionBase { - internal PerformanceCounterPermissionEntryCollection () + internal PerformanceCounterPermissionEntryCollection (ResourcePermissionBaseEntry[] entries) { + foreach (ResourcePermissionBaseEntry entry in entries) { + List.Add (new PerformanceCounterPermissionEntry ((PerformanceCounterPermissionAccess) entry.PermissionAccess, entry.PermissionAccessPath[0], entry.PermissionAccessPath[1])); + } } public PerformanceCounterPermissionEntry this [int index] { |