C# Class System.Diagnostics.SourceSwitch

Inheritance: Switch
Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
ShouldTrace ( System eventType ) : bool
SourceSwitch ( string name )
SourceSwitch ( string displayName, string defaultSwitchValue )

Protected Methods

Method Description
OnValueChanged ( ) : void

Method Details

OnValueChanged() protected method

protected OnValueChanged ( ) : void
return void

ShouldTrace() public method

public ShouldTrace ( System eventType ) : bool
eventType System
return bool

SourceSwitch() public method

public SourceSwitch ( string name )
name string

SourceSwitch() public method

public SourceSwitch ( string displayName, string defaultSwitchValue )
displayName string
defaultSwitchValue string