Class DiagnosticsServiceServiceHostBuilderExtensions
ServiceHostBuilder extensions.
Inheritance
System.Object
DiagnosticsServiceServiceHostBuilderExtensions
Namespace: Copper.Service
Assembly: Copper.Diagnostics.Service.dll
Syntax
public static class DiagnosticsServiceServiceHostBuilderExtensions
Methods
View SourceAddCopperServiceLogging<TServiceHostBuilder>(TServiceHostBuilder)
Adds Copper service logging to the service host.
Declaration
public static TServiceHostBuilder AddCopperServiceLogging<TServiceHostBuilder>(this TServiceHostBuilder serviceHostBuilder)
where TServiceHostBuilder : ServiceHostBuilder<TServiceHostBuilder>
Parameters
Type | Name | Description |
---|---|---|
TServiceHostBuilder | serviceHostBuilder | The service host builder. |
Returns
Type | Description |
---|---|
TServiceHostBuilder |
Type Parameters
Name | Description |
---|---|
TServiceHostBuilder | The service host builder type. |