C# Class paramore.brighter.commandprocessor.monitoring.Attributes.MonitorAsyncAttribute

Class MonitorAttribute. Using this attribute indicates that you intend to monitor the handler. Monitoring implies that diagnostic information will be sent over the ControlBus to any subscribers. A configuration setting acts as a 'master switch' to turn monitoring on and off. The MonitoringConfigurationSection provides that switch.
Inheritance: RequestHandlerAttribute
Exibir arquivo Open project: iancooper/Paramore

Public Methods

Method Description
GetHandlerType ( ) : Type

Gets the type of the handler.

InitializerParams ( ) : object[]

Initializers the parameters.

MonitorAsyncAttribute ( int step, HandlerTiming timing, Type handlerType ) : System

Initializes a new instance of the MonitorAsyncAttribute class.

Method Details

GetHandlerType() public method

Gets the type of the handler.
public GetHandlerType ( ) : Type
return System.Type

InitializerParams() public method

Initializers the parameters.
public InitializerParams ( ) : object[]
return object[]

MonitorAsyncAttribute() public method

Initializes a new instance of the MonitorAsyncAttribute class.
public MonitorAsyncAttribute ( int step, HandlerTiming timing, Type handlerType ) : System
step int The step.
timing HandlerTiming The timing.
handlerType System.Type The type of the monitored handler (used to extract the assembly qualified type name for instrumentation purposes)
return System