GlimpseConfiguration Constructor

Glimpse API

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

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

Syntax

public GlimpseConfiguration(
	IFrameworkProvider frameworkProvider,
	ResourceEndpointConfiguration endpointConfiguration,
	ICollection<IClientScript> clientScripts,
	ILogger logger,
	RuntimePolicy defaultRuntimePolicy,
	IHtmlEncoder htmlEncoder,
	IPersistenceStore persistenceStore,
	ICollection<IInspector> inspectors,
	ICollection<IResource> resources,
	ISerializer serializer,
	ICollection<ITab> tabs,
	ICollection<IRuntimePolicy> runtimePolicies,
	IResource defaultResource,
	IProxyFactory proxyFactory,
	IMessageBroker messageBroker,
	string endpointBaseUri,
	Func<IExecutionTimer> timerStrategy,
	Func<RuntimePolicy> runtimePolicyStrategy
)
public GlimpseConfiguration(
	IFrameworkProvider frameworkProvider,
	ResourceEndpointConfiguration endpointConfiguration,
	ICollection<IClientScript> clientScripts,
	ILogger logger,
	RuntimePolicy defaultRuntimePolicy,
	IHtmlEncoder htmlEncoder,
	IPersistenceStore persistenceStore,
	ICollection<IInspector> inspectors,
	ICollection<IResource> resources,
	ISerializer serializer,
	ICollection<ITab> tabs,
	ICollection<IRuntimePolicy> runtimePolicies,
	IResource defaultResource,
	IProxyFactory proxyFactory,
	IMessageBroker messageBroker,
	string endpointBaseUri,
	Func<IExecutionTimer> timerStrategy,
	Func<RuntimePolicy> runtimePolicyStrategy
)

Parameters

frameworkProvider
Type: Glimpse.Core.Framework IFrameworkProvider
The framework provider.
endpointConfiguration
Type: Glimpse.Core.Framework ResourceEndpointConfiguration
The resource endpoint configuration.
clientScripts
Type: OnlineSystem.Collections.Generic ICollection IClientScript 
The client scripts collection.
logger
Type: Glimpse.Core.Extensibility ILogger
The logger.
defaultRuntimePolicy
Type: Glimpse.Core.Extensibility RuntimePolicy
The default runtime policy.
htmlEncoder
Type: Glimpse.Core.Extensibility IHtmlEncoder
The Html encoder.
persistenceStore
Type: Glimpse.Core.Framework IPersistenceStore
The persistence store.
inspectors
Type: OnlineSystem.Collections.Generic ICollection IInspector 
The inspectors collection.
resources
Type: OnlineSystem.Collections.Generic ICollection IResource 
The resources collection.
serializer
Type: Glimpse.Core.Extensibility ISerializer
The serializer.
tabs
Type: OnlineSystem.Collections.Generic ICollection ITab 
The tabs collection.
runtimePolicies
Type: OnlineSystem.Collections.Generic ICollection IRuntimePolicy 
The runtime policies collection.
defaultResource
Type: Glimpse.Core.Extensibility IResource
The default resource.
proxyFactory
Type: Glimpse.Core.Extensibility IProxyFactory
The proxy factory.
messageBroker
Type: Glimpse.Core.Extensibility IMessageBroker
The message broker.
endpointBaseUri
Type: OnlineSystem String
The endpoint base Uri.
timerStrategy
Type: OnlineSystem Func IExecutionTimer 
The timer strategy.
runtimePolicyStrategy
Type: OnlineSystem Func RuntimePolicy 
The runtime policy strategy.
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptionAn exception is thrown if any parameter is null.
See Also