Click or drag to resize

DotDiagnosticTracer Class

Provides a resolve pipeline tracer that generates DOT graph output traces for an end-to-end operation flow. Attach to the OperationCompleted event to receive notifications when a new graph is available.
Inheritance Hierarchy
SystemObject
  Autofac.DiagnosticsDiagnosticTracerBase
    Autofac.DiagnosticsOperationDiagnosticTracerBaseString
      Autofac.Diagnostics.DotGraphDotDiagnosticTracer

Namespace:  Autofac.Diagnostics.DotGraph
Assembly:  Autofac.Diagnostics.DotGraph (in Autofac.Diagnostics.DotGraph.dll) Version: 1.0.0+77b148c9ae088c358a46e9a807583e2d45d96e9b
Syntax
public class DotDiagnosticTracer : OperationDiagnosticTracerBase<string>

The DotDiagnosticTracer type exposes the following members.

Constructors
  NameDescription
Public methodDotDiagnosticTracer
Initializes a new instance of the DotDiagnosticTracer class.
Top
Properties
Methods
  NameDescription
Public methodDisable
Unsubscribes the observer from a particular named diagnostic event.
(Inherited from OperationDiagnosticTracerBaseTContent.)
Protected methodDisableBase
Unsubscribes the observer from a particular named diagnostic event.
(Inherited from DiagnosticTracerBase.)
Public methodEnable
Subscribes the observer to a particular named diagnostic event.
(Inherited from OperationDiagnosticTracerBaseTContent.)
Public methodEnableAll
Subscribes the observer to all Autofac events.
(Inherited from DiagnosticTracerBase.)
Protected methodEnableBase
Subscribes the observer to a particular named diagnostic event.
(Inherited from DiagnosticTracerBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsEnabled
Determines if this observer is enabled for listening to a specific named event.
(Inherited from DiagnosticTracerBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnMiddlewareFailure
Handles the event raised when middleware encounters an error.
(Inherited from DiagnosticTracerBase.)
Protected methodOnMiddlewareStart
Handles the event raised when middleware starts.
(Inherited from DiagnosticTracerBase.)
Protected methodOnMiddlewareSuccess
Handles the event raised when middleware exits successfully.
(Inherited from DiagnosticTracerBase.)
Protected methodOnOperationCompleted
Invokes the OperationCompleted event.
(Inherited from OperationDiagnosticTracerBaseTContent.)
Protected methodOnOperationFailure
Handles the event raised when a resolve operation encounters an error.
(Overrides DiagnosticTracerBaseOnOperationFailure(OperationFailureDiagnosticData).)
Protected methodOnOperationStart
Handles the event raised when a resolve operation starts.
(Overrides DiagnosticTracerBaseOnOperationStart(OperationStartDiagnosticData).)
Protected methodOnOperationSuccess
Handles the event raised when a resolve operation completes successfully.
(Overrides DiagnosticTracerBaseOnOperationSuccess(OperationSuccessDiagnosticData).)
Protected methodOnRequestFailure
Handles the event raised when a resolve request encounters an error.
(Overrides DiagnosticTracerBaseOnRequestFailure(RequestFailureDiagnosticData).)
Protected methodOnRequestStart
Handles the event raised when a resolve request starts.
(Overrides DiagnosticTracerBaseOnRequestStart(RequestDiagnosticData).)
Protected methodOnRequestSuccess
Handles the event raised when a resolve request completes successfully.
(Overrides DiagnosticTracerBaseOnRequestSuccess(RequestDiagnosticData).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodWrite
Handles inbound events and converts the diagnostic data to a strongly-typed object that can be handled by the other methods in this observer.
(Inherited from DiagnosticTracerBase.)
Top
Events
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIObserverKeyValuePairString, ObjectOnCompleted
Notifies the observer that the provider has finished sending push-based notifications.
(Inherited from DiagnosticTracerBase.)
Explicit interface implementationPrivate methodIObserverKeyValuePairString, ObjectOnError
Notifies the observer that the provider has experienced an error condition.
(Inherited from DiagnosticTracerBase.)
Explicit interface implementationPrivate methodIObserverKeyValuePairString, ObjectOnNext
Provides the observer with new data.
(Inherited from DiagnosticTracerBase.)
Top
Remarks

The tracer subscribes to all Autofac diagnostic events and can't be unsubscribed. This is required to ensure beginning and end of each logical activity can be captured.

See Also