WebAssemblyHostBuilder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A builder for configuring and creating a WebAssemblyHost.
public ref class WebAssemblyHostBuilder sealed
public sealed class WebAssemblyHostBuilder
type WebAssemblyHostBuilder = class
Public NotInheritable Class WebAssemblyHostBuilder
- Inheritance
-
WebAssemblyHostBuilder
Properties
Configuration |
Gets an WebAssemblyHostConfiguration that can be used to customize the application's configuration sources and read configuration attributes. |
HostEnvironment |
Gets information about the app's host environment. |
Logging |
Gets the logging builder for configuring logging services. |
RootComponents |
Gets the collection of root component mappings configured for the application. |
Services |
Gets the service collection. |
Methods
Build() |
Builds a WebAssemblyHost instance based on the configuration of this builder. |
ConfigureContainer<TBuilder>(IServiceProviderFactory<TBuilder>, Action<TBuilder>) |
Registers a IServiceProviderFactory<TContainerBuilder> instance to be used to create the IServiceProvider. |
CreateDefault(String[]) |
Creates an instance of WebAssemblyHostBuilder using the most common conventions and settings. |