Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System/Microsoft.Win32/UserPreferenceChangingEventArgs.cs')
-rw-r--r--mcs/class/System/Microsoft.Win32/UserPreferenceChangingEventArgs.cs35
1 files changed, 15 insertions, 20 deletions
diff --git a/mcs/class/System/Microsoft.Win32/UserPreferenceChangingEventArgs.cs b/mcs/class/System/Microsoft.Win32/UserPreferenceChangingEventArgs.cs
index 31341cb43d1..72831d20834 100644
--- a/mcs/class/System/Microsoft.Win32/UserPreferenceChangingEventArgs.cs
+++ b/mcs/class/System/Microsoft.Win32/UserPreferenceChangingEventArgs.cs
@@ -5,8 +5,7 @@
// Johannes Roith (johannes@jroith.de)
//
// (C) 2002 Johannes Roith
-//
-
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
@@ -27,28 +26,24 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+
+using System.Security.Permissions;
+
namespace Microsoft.Win32 {
+
+ [PermissionSet (SecurityAction.LinkDemand, Unrestricted = true)]
+ [PermissionSet (SecurityAction.InheritanceDemand, Unrestricted = true)]
+ public class UserPreferenceChangingEventArgs : System.EventArgs{
- /// <summary>
- /// </summary>
-public class UserPreferenceChangingEventArgs : System.EventArgs{
-
- UserPreferenceCategory mycategory;
-
+ UserPreferenceCategory mycategory;
- public UserPreferenceChangingEventArgs(UserPreferenceCategory category)
- {
- this.mycategory = category;
- }
+ public UserPreferenceChangingEventArgs (UserPreferenceCategory category)
+ {
+ this.mycategory = category;
+ }
- public UserPreferenceCategory Category {
-
- get{
- return mycategory;
+ public UserPreferenceCategory Category {
+ get { return mycategory; }
}
-
}
-
-}
-
}