HtmlRenderer(IServiceProvider, ILoggerFactory) Constructor
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.
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.