diff options
author | Jonathan Pryor <jpryor@novell.com> | 2002-12-18 01:10:50 +0300 |
---|---|---|
committer | Jonathan Pryor <jpryor@novell.com> | 2002-12-18 01:10:50 +0300 |
commit | 7187b5f041a89653d4210fdcdf100c68719a854f (patch) | |
tree | 3fb08b60d824e41889bf0091fef262096ce21a2b /mcs/class/System/System.Diagnostics | |
parent | e11681b16e4f9fffdf98e91b9030264f5b6e393b (diff) |
Reformat to comply with Mono coding standards.
svn path=/trunk/mcs/; revision=9735
Diffstat (limited to 'mcs/class/System/System.Diagnostics')
-rwxr-xr-x | mcs/class/System/System.Diagnostics/Switch.cs | 78 |
1 files changed, 32 insertions, 46 deletions
diff --git a/mcs/class/System/System.Diagnostics/Switch.cs b/mcs/class/System/System.Diagnostics/Switch.cs index 155860f09b9..7dcec8fd9f7 100755 --- a/mcs/class/System/System.Diagnostics/Switch.cs +++ b/mcs/class/System/System.Diagnostics/Switch.cs @@ -12,64 +12,50 @@ 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 } - } + } } |