Export (0) Print
Expand All

BooleanSwitch Members

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

The following tables list the members exposed by the BooleanSwitch type.

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

(see also Protected Properties )
  Name Description
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.
Top

  Name Description
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.)
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetSupportedAttributes  Gets the custom attributes supported by the switch. (Inherited from Switch.)
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 Overridden. Determines whether the new value of the Value property can be parsed as a Boolean value.
Top

Community Additions

ADD
Show:
© 2014 Microsoft