Share via


WebRenderer Constructor

Definition

Constructs an instance of WebRenderer.

public WebRenderer (IServiceProvider serviceProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Text.Json.JsonSerializerOptions jsonOptions, Microsoft.AspNetCore.Components.Web.Infrastructure.JSComponentInterop jsComponentInterop);
new Microsoft.AspNetCore.Components.RenderTree.WebRenderer : IServiceProvider * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Json.JsonSerializerOptions * Microsoft.AspNetCore.Components.Web.Infrastructure.JSComponentInterop -> Microsoft.AspNetCore.Components.RenderTree.WebRenderer
Public Sub New (serviceProvider As IServiceProvider, loggerFactory As ILoggerFactory, jsonOptions As JsonSerializerOptions, jsComponentInterop As JSComponentInterop)

Parameters

serviceProvider
IServiceProvider

The IServiceProvider to be used when initializing components.

loggerFactory
ILoggerFactory

The ILoggerFactory.

jsComponentInterop
JSComponentInterop

The JSComponentInterop.

Applies to