CastleInvocationToAlternateMethodContextAdapter Constructor

Glimpse API

CastleInvocationToAlternateMethodContextAdapter Constructor Glimpse API Documentation
Initializes a new instance of the CastleInvocationToAlternateMethodContextAdapter class.

Namespace: Glimpse.Core.Extensibility
Assembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)

Syntax

public CastleInvocationToAlternateMethodContextAdapter(
	IInvocation invocation,
	ILogger logger,
	IMessageBroker messageBroker,
	IProxyFactory proxyFactory,
	Func<IExecutionTimer> timerStrategy,
	Func<RuntimePolicy> runtimePolicyStrategy
)
public CastleInvocationToAlternateMethodContextAdapter(
	IInvocation invocation,
	ILogger logger,
	IMessageBroker messageBroker,
	IProxyFactory proxyFactory,
	Func<IExecutionTimer> timerStrategy,
	Func<RuntimePolicy> runtimePolicyStrategy
)

Parameters

invocation
Type: IInvocation
The invocation.
logger
Type: Glimpse.Core.Extensibility ILogger
The logger.
messageBroker
Type: Glimpse.Core.Extensibility IMessageBroker
The message broker.
proxyFactory
Type: Glimpse.Core.Extensibility IProxyFactory
The proxy factory.
timerStrategy
Type: OnlineSystem Func IExecutionTimer 
The timer strategy.
runtimePolicyStrategy
Type: OnlineSystem Func RuntimePolicy 
The runtime policy strategy.
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptionThrows an exception if any parameter is null.
See Also