C# Class Thinktecture.ServiceModel.Tracing.CallTraceParameterInspector

This custom parameter inspector is for logging operation invocations to the console.
Inheritance: IParameterInspector
Datei anzeigen Open project: ChristianWeyer/Thinktecture.ServiceModel

Public Methods

Method Description
AfterCall ( string operationName, object outputs, object returnValue, object correlationState ) : void

Gets called after the call.

This method has zero instructions.

BeforeCall ( string operationName, object inputs ) : object

Logs the calls to the console before invoking the service method.

CallTraceParameterInspector ( ) : System

Initializes a new instance of the CallLogParameterInspector class.

Method Details

AfterCall() public method

Gets called after the call.
This method has zero instructions.
public AfterCall ( string operationName, object outputs, object returnValue, object correlationState ) : void
operationName string
outputs object
returnValue object
correlationState object
return void

BeforeCall() public method

Logs the calls to the console before invoking the service method.
public BeforeCall ( string operationName, object inputs ) : object
operationName string
inputs object
return object

CallTraceParameterInspector() public method

Initializes a new instance of the CallLogParameterInspector class.
public CallTraceParameterInspector ( ) : System
return System