Share via


StaticHtmlRenderer(IServiceProvider, ILoggerFactory) Constructor

Definition

Constructs an instance of StaticHtmlRenderer.

public StaticHtmlRenderer (IServiceProvider serviceProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure.StaticHtmlRenderer : IServiceProvider * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure.StaticHtmlRenderer
Public Sub New (serviceProvider As IServiceProvider, loggerFactory As ILoggerFactory)

Parameters

serviceProvider
IServiceProvider

The IServiceProvider to be used when initializing components.

loggerFactory
ILoggerFactory

The ILoggerFactory.

Applies to