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/UserPreferenceChangedEventArgs.cs')
-rw-r--r--mcs/class/System/Microsoft.Win32/UserPreferenceChangedEventArgs.cs34
1 files changed, 15 insertions, 19 deletions
diff --git a/mcs/class/System/Microsoft.Win32/UserPreferenceChangedEventArgs.cs b/mcs/class/System/Microsoft.Win32/UserPreferenceChangedEventArgs.cs
index e606fb3c69c..ac26be3233c 100644
--- a/mcs/class/System/Microsoft.Win32/UserPreferenceChangedEventArgs.cs
+++ b/mcs/class/System/Microsoft.Win32/UserPreferenceChangedEventArgs.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,25 @@
// 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 UserPreferenceChangedEventArgs : System.EventArgs{
- /// <summary>
- /// </summary>
-public class UserPreferenceChangedEventArgs : System.EventArgs{
-
- UserPreferenceCategory mycategory;
+ UserPreferenceCategory mycategory;
- public UserPreferenceChangedEventArgs(UserPreferenceCategory category)
- {
- this.mycategory = category;
- }
+ public UserPreferenceChangedEventArgs (UserPreferenceCategory category)
+ {
+ this.mycategory = category;
+ }
- public UserPreferenceCategory Category {
-
- get{
- return mycategory;
+ public UserPreferenceCategory Category {
+ get { return mycategory; }
}
-
}
-
-}
-
}