WebRenderer 构造函数

定义

构造 的 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)

参数

serviceProvider
IServiceProvider

初始化 IServiceProvider 组件时要使用的 。

适用于