Class TelemetryCoreHost<TAuthenticationToken>
Configure and start command and event handlers in a host with telemetry
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.Azure.ConfigurationManager
Assembly: Cqrs.Azure.ConfigurationManager.dll
Syntax
public abstract class TelemetryCoreHost<TAuthenticationToken> : CoreHost<TAuthenticationToken>
Type Parameters
Name | Description |
---|---|
TAuthenticationToken |
Fields
_configurationManager
Gets or sets the IConfigurationManager.
Declaration
protected static readonly IConfigurationManager _configurationManager
Field Value
Type | Description |
---|---|
IConfigurationManager |
Properties
ConfigurationManager
The IConfigurationManager that can be use before the Current is set.
Declaration
protected override IConfigurationManager ConfigurationManager { get; }
Property Value
Type | Description |
---|---|
IConfigurationManager |
Overrides
Cqrs.Hosts.CoreHost<TAuthenticationToken>.ConfigurationManager
TelemetryClient
Gets or sets the TelemetryClient.
Declaration
public TelemetryClient TelemetryClient { get; }
Property Value
Type | Description |
---|---|
Microsoft.ApplicationInsights.TelemetryClient |
Methods
ConfigureTelemetry()
When overridden, allows you to configure Telemetry
Declaration
protected override void ConfigureTelemetry()
Overrides
Cqrs.Hosts.CoreHost<TAuthenticationToken>.ConfigureTelemetry()
Prepare()
Prepare the host before registering handlers and starting the host.
Declaration
protected override void Prepare()
Overrides
Cqrs.Hosts.CoreHost<TAuthenticationToken>.Prepare()
PrepareSecurityProtocol()
Sets the System.Net.ServicePointManager.SecurityProtocol to System.Net.SecurityProtocolType.Tls12 | System.Net.SecurityProtocolType.Tls11 | System.Net.SecurityProtocolType.Tls.
Declaration
protected override void PrepareSecurityProtocol()
Overrides
Cqrs.Hosts.CoreHost<TAuthenticationToken>.PrepareSecurityProtocol()
Run(Action)
Declaration
public override void Run(Action handlerRegistation = null)
Parameters
Type | Name | Description |
---|---|---|
System.Action | handlerRegistation |
Overrides
Cqrs.Hosts.CoreHost<TAuthenticationToken>.Run(System.Action)
Start()
Start the host post preparing and registering handlers.
Declaration
protected override void Start()
Overrides
Cqrs.Hosts.CoreHost<TAuthenticationToken>.Start()