Class MethodServiceServiceHostBuilderExtensions
ServiceHostBuilder<TServiceHostBuilder> extensions.
Inheritance
System.Object
MethodServiceServiceHostBuilderExtensions
Namespace: Copper.Service
Assembly: Copper.Conventions.Method.Service.dll
Syntax
public static class MethodServiceServiceHostBuilderExtensions
Methods
View SourceAddMethodServiceConfiguration<TServiceHostBuilder>(TServiceHostBuilder, Type)
Adds the method service configuration to the service host's configuration builder.
Declaration
public static TServiceHostBuilder AddMethodServiceConfiguration<TServiceHostBuilder>(this TServiceHostBuilder serviceHostBuilder, Type implementationType)
where TServiceHostBuilder : ServiceHostBuilder<TServiceHostBuilder>
Parameters
Type | Name | Description |
---|---|---|
TServiceHostBuilder | serviceHostBuilder | The service host builder. |
System.Type | implementationType | The implementation type. |
Returns
Type | Description |
---|---|
TServiceHostBuilder |
Type Parameters
Name | Description |
---|---|
TServiceHostBuilder | The service host builder type. |