InspectorContext Constructor | Glimpse API Documentation |
Initializes a new instance of the InspectorContext class.
Namespace: Glimpse.Core.ExtensibilityAssembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public InspectorContext( ILogger logger, IProxyFactory proxyFactory, IMessageBroker messageBroker, Func<IExecutionTimer> timerStrategy, Func<RuntimePolicy> runtimePolicyStrategy )
public InspectorContext( ILogger logger, IProxyFactory proxyFactory, IMessageBroker messageBroker, Func<IExecutionTimer> timerStrategy, Func<RuntimePolicy> runtimePolicyStrategy )
Parameters
- logger
- Type: Glimpse.Core.Extensibility ILogger
The logger.
- proxyFactory
- Type: Glimpse.Core.Extensibility IProxyFactory
The proxy factory.
- messageBroker
- Type: Glimpse.Core.Extensibility IMessageBroker
The message broker.
- timerStrategy
- Type: System Func IExecutionTimer
The timer strategy.
- runtimePolicyStrategy
- Type: System Func RuntimePolicy
The runtime policy strategy.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | Throws an exception if any parameter if null. |
See Also