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:
authorJonathan Pryor <jpryor@novell.com>2002-12-18 01:10:50 +0300
committerJonathan Pryor <jpryor@novell.com>2002-12-18 01:10:50 +0300
commit7187b5f041a89653d4210fdcdf100c68719a854f (patch)
tree3fb08b60d824e41889bf0091fef262096ce21a2b /mcs/class/System/System.Diagnostics
parente11681b16e4f9fffdf98e91b9030264f5b6e393b (diff)
Reformat to comply with Mono coding standards.
svn path=/trunk/mcs/; revision=9735
Diffstat (limited to 'mcs/class/System/System.Diagnostics')
-rwxr-xr-xmcs/class/System/System.Diagnostics/Switch.cs78
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
}
- }
+ }
}