GlimpseConfiguration Constructor | Glimpse API Documentation |
Initializes a new instance of the GlimpseConfiguration class.
Namespace: Glimpse.Core.FrameworkAssembly: 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: System.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: System.Collections.Generic ICollection IInspector
The inspectors collection.
- resources
- Type: System.Collections.Generic ICollection IResource
The resources collection.
- serializer
- Type: Glimpse.Core.Extensibility ISerializer
The serializer.
- tabs
- Type: System.Collections.Generic ICollection ITab
The tabs collection.
- runtimePolicies
- Type: System.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: System String
The endpoint base Uri.
- timerStrategy
- Type: System Func IExecutionTimer
The timer strategy.
- runtimePolicyStrategy
- Type: System Func RuntimePolicy
The runtime policy strategy.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | An exception is thrown if any parameter is null. |
See Also