Class AbpWebAssemblyHostBuilderExtensions
Inheritance
System.Object
AbpWebAssemblyHostBuilderExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.AspNetCore.Components.WebAssembly.Hosting
Assembly: Volo.Abp.AspNetCore.Components.WebAssembly.dll
Syntax
public static class AbpWebAssemblyHostBuilderExtensions
Methods
AddApplication<TStartupModule>(WebAssemblyHostBuilder, Action<AbpWebAssemblyApplicationCreationOptions>)
Declaration
public static IAbpApplicationWithExternalServiceProvider AddApplication<TStartupModule>(this WebAssemblyHostBuilder builder, Action<AbpWebAssemblyApplicationCreationOptions> options)
where TStartupModule : IAbpModule
Parameters
| Type | Name | Description |
|---|---|---|
| WebAssemblyHostBuilder | builder | |
| System.Action<AbpWebAssemblyApplicationCreationOptions> | options |
Returns
| Type | Description |
|---|---|
| IAbpApplicationWithExternalServiceProvider |
Type Parameters
| Name | Description |
|---|---|
| TStartupModule |
InitializeAsync(IAbpApplicationWithExternalServiceProvider, IServiceProvider)
Declaration
public static Task InitializeAsync(this IAbpApplicationWithExternalServiceProvider application, IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IAbpApplicationWithExternalServiceProvider | application | |
| System.IServiceProvider | serviceProvider |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |