Reformat to comply with Mono coding standards.
authorJonathan Pryor <jpryor@novell.com>
Tue, 17 Dec 2002 22:10:50 +0000 (22:10 -0000)
committerJonathan Pryor <jpryor@novell.com>
Tue, 17 Dec 2002 22:10:50 +0000 (22:10 -0000)
svn path=/trunk/mcs/; revision=9735

mcs/class/System/System.Diagnostics/Switch.cs

index 155860f09b964c322c1578154a7907840552d083..7dcec8fd9f74b398328eb89ff76605e05862c0d8 100755 (executable)
 
 namespace System.Diagnostics
 {
-        public abstract class Switch
-        {
-                   private string desc = "";
-                private string display_name = "";
-                private int iSwitch;
-
-                // ================= Constructors ===================
-                protected Switch(string displayName, string description)
-                {
-                        display_name = displayName;
-                        desc = description;
-                }
+       public abstract class Switch
+       {
+               private string desc = "";
+               private string display_name = "";
+               private int iSwitch;
+
+               // ================= Constructors ===================
+               protected Switch(string displayName, string description)
+               {
+                       display_name = displayName;
+                       desc = description;
+               }
 
-                ~Switch()
-                {
-                }
+               ~Switch()
+               {
+               }
 
-                // ================ Instance Methods ================
+               // ================ Instance Methods ================
 
-                // ==================== Properties ==================
+               // ==================== Properties ==================
 
-                public string Description
-                {
-                        get
-                        {
-                                return desc;
-                        }
-                }
+               public string Description {
+                       get {return desc;}
+               }
 
-                public string DisplayName
-                {
-                        get
-                        {
-                                return display_name;
-                        }
-                }
+               public string DisplayName {
+                       get {return display_name;}
+               }
 
-                protected int SwitchSetting
-                {
-                        get
-                        {
-                                return iSwitch;
-                        }
-                        set
-                        {
-                                                       if(iSwitch != value) 
-                                                       {
-                                                               iSwitch = value;
-                                                               OnSwitchSettingChanged();
-                                                       }
-                                               }
+               protected int SwitchSetting {
+                       get {return iSwitch;}
+                       set {
+                               if(iSwitch != value) {
+                                       iSwitch = value;
+                                       OnSwitchSettingChanged();
                                }
+                       }
+               }
 
                [MonoTODO]
                protected virtual void OnSwitchSettingChanged()
                {
                        // TODO: implement me
                }
-        }
+       }
 }