Dela via


HtmlRenderer(IServiceProvider, ILoggerFactory) Constructor

Definition

Constructs an instance of HtmlRenderer.

public HtmlRenderer (IServiceProvider services, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Components.Web.HtmlRenderer : IServiceProvider * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Components.Web.HtmlRenderer
Public Sub New (services As IServiceProvider, loggerFactory As ILoggerFactory)

Parameters

services
IServiceProvider

The services to use when rendering components.

loggerFactory
ILoggerFactory

The logger factory to use.

Applies to