Class MethodHostingFabricHostBuilderExtensions
FabricHostBuilder extensions.
Inheritance
System.Object
MethodHostingFabricHostBuilderExtensions
Namespace: Copper.Hosting
Assembly: Copper.Conventions.Method.Hosting.dll
Syntax
public static class MethodHostingFabricHostBuilderExtensions
Methods
View SourceAddMicroservice(FabricHostBuilder, String, String)
Adds a named instance of the given Microservice type to the fabric host.
Declaration
public static FabricHostBuilder AddMicroservice(this FabricHostBuilder fabricHostBuilder, string applicationName, string applicationTypeName)
Parameters
| Type | Name | Description |
|---|---|---|
| FabricHostBuilder | fabricHostBuilder | The fabric host builder. |
| System.String | applicationName | The application name. |
| System.String | applicationTypeName | The application type name. |
Returns
| Type | Description |
|---|---|
| FabricHostBuilder |
AddMicroserviceType(FabricHostBuilder, String, Func<MicroserviceBuilder>)
Adds a named Microservice type to the fabric host.
Declaration
public static FabricHostBuilder AddMicroserviceType(this FabricHostBuilder fabricHostBuilder, string applicationTypeName, Func<MicroserviceBuilder> configureDelegate)
Parameters
| Type | Name | Description |
|---|---|---|
| FabricHostBuilder | fabricHostBuilder | The fabric host builder. |
| System.String | applicationTypeName | The application type name. |
| System.Func<MicroserviceBuilder> | configureDelegate | The configure delegate. |
Returns
| Type | Description |
|---|---|
| FabricHostBuilder |