Class WebAssemblyHostBuilderEx
Static class with extension methods for initializing the Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder instance.
Inheritance
Namespace: LambdaSharp.App
Assembly: LambdaSharp.App.dll
Syntax
public static class WebAssemblyHostBuilderEx
Methods
AddLambdaSharp<T>(WebAssemblyHostBuilder)
Configure the Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder instance for use with LambdaSharp.
Declaration
public static WebAssemblyHostBuilder AddLambdaSharp<T>(this WebAssemblyHostBuilder builder)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder | builder | The Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder instance. |
Returns
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder | The Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder instance. |
Type Parameters
| Name | Description |
|---|---|
| T | The application type used to determine the assembly version GUID. |
UseLambdaSharp(WebAssemblyHostBuilder, Type)
Configure the Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder instance for use with LambdaSharp.
Declaration
public static WebAssemblyHostBuilder UseLambdaSharp(this WebAssemblyHostBuilder builder, Type mainType)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder | builder | The Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder instance. |
| System.Type | mainType | The application type used to determine the assembly version GUID. |
Returns
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder | The Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder instance. |