This documentation is archived and is not being maintained.

BooleanSwitch Members

Provides a simple on/off switch that controls debugging and tracing output.

The BooleanSwitch type exposes the following members.

Public method BooleanSwitch Overloaded. Initializes a new instance of the BooleanSwitch class.

Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetSupportedAttributes Gets the custom attributes supported by the switch. (Inherited from Switch.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnSwitchSettingChanged Invoked when the SwitchSetting property is changed. (Inherited from Switch.)
Protected method OnValueChanged Determines whether the new value of the Value property can be parsed as a Boolean value. (Overrides Switch.OnValueChanged().)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property Attributes Gets the custom switch attributes defined in the application configuration file. (Inherited from Switch.)
Public property Description Gets a description of the switch. (Inherited from Switch.)
Public property DisplayName Gets a name used to identify the switch. (Inherited from Switch.)
Public property Enabled Gets or sets a value indicating whether the switch is enabled or disabled.
Protected property SwitchSetting Gets or sets the current setting for this switch. (Inherited from Switch.)
Protected property Value Gets or sets the value of the switch. (Inherited from Switch.)