StaticHtmlRenderer(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 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.