Definition
Assembly: Microsoft.Extensions.Hosting.Abstractions.dll Namespace: Microsoft.Extensions.HostingSyntax
Summary
This type is defined in Microsoft.Extensions.Hosting.Abstractions.Remarks
See Microsoft documentation for more information about the rest of the API.Methods
Configure Extension
Extension method from
Microsoft.Extensions.Hosting.BreakdanceHostBuilderExtensionsSyntax
Parameters
| Name | Type | Description |
|---|---|---|
builder | Microsoft.Extensions.Hosting.IHostBuilder | The IHostBuilder to configure. |
configure | System.Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> | The delegate to configure the IApplicationBuilder. |
Returns
Type:Microsoft.Extensions.Hosting.IHostBuilder
The IHostBuilder for chaining.
GetAllServiceDescriptors Extension
Extension method from
Microsoft.Extensions.DependencyInjection.Breakdance_Assemblies_IHostBuilderExtensionsSyntax
Parameters
| Name | Type | Description |
|---|---|---|
builder | Microsoft.Extensions.Hosting.IHostBuilder | - |
Returns
Type:System.Collections.Generic.Dictionary<System.Type, Microsoft.Extensions.DependencyInjection.ServiceDescriptor>
Remarks
Taken from https://stackoverflow.com/a/60529530/403765GetContainerContentsLog Extension
Extension method from
Microsoft.Extensions.DependencyInjection.Breakdance_Assemblies_IHostBuilderExtensionsSyntax
Parameters
| Name | Type | Description |
|---|---|---|
hostBuilder | Microsoft.Extensions.Hosting.IHostBuilder | - |
Returns
Type:string
UseStartup Extension
Extension method from
Microsoft.Extensions.Hosting.BreakdanceHostBuilderExtensionsSyntax
Parameters
| Name | Type | Description |
|---|---|---|
builder | Microsoft.Extensions.Hosting.IHostBuilder | The IHostBuilder to configure. |
Returns
Type:Microsoft.Extensions.Hosting.IHostBuilder
The IHostBuilder for chaining.
Type Parameters
TStartup- The startup type.