C# Class System.Diagnostics.Switch

Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
Initialize void
InitializeWithStatus bool
Refresh void
RefreshAll void
_pruneCachedSwitches void

Protected Methods

Method Description
GetSupportedAttributes ( ) : string[]
OnSwitchSettingChanged ( ) : void
OnValueChanged ( ) : void
Switch ( string displayName, string description )
Switch ( string displayName, string description, string defaultSwitchValue )
Switch ( string displayName, string description ) : System
Switch ( string displayName, string description, string defaultSwitchValue ) : System

Private Methods

Method Description
Initialize ( ) : void
InitializeWithStatus ( ) : bool
Refresh ( ) : void
RefreshAll ( ) : void
_pruneCachedSwitches ( ) : void

Method Details

GetSupportedAttributes() protected method

protected GetSupportedAttributes ( ) : string[]
return string[]

OnSwitchSettingChanged() protected method

protected OnSwitchSettingChanged ( ) : void
return void

OnValueChanged() protected method

protected OnValueChanged ( ) : void
return void

Switch() protected method

protected Switch ( string displayName, string description )
displayName string
description string

Switch() protected method

protected Switch ( string displayName, string description, string defaultSwitchValue )
displayName string
description string
defaultSwitchValue string

Switch() protected method

protected Switch ( string displayName, string description ) : System
displayName string
description string
return System

Switch() protected method

protected Switch ( string displayName, string description, string defaultSwitchValue ) : System
displayName string
description string
defaultSwitchValue string
return System