Click or drag to resize

DiagnosticTracerBaseEnableBase Method

Subscribes the observer to a particular named diagnostic event.

Namespace:  Autofac.Diagnostics
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
protected void EnableBase(
	string diagnosticName


Type: SystemString
The name of the event to which the observer should subscribe. Diagnostic names are case-sensitive.

Derived classes may override the public Enable(String) method to handle consumer calls to enabling events; constructors needing to call non-virtual methods may directly call this to avoid executing against partially constructed derived classes.

See Also