HtmlRenderer Class
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.
Provides a mechanism for rendering components non-interactively as HTML markup.
public sealed class HtmlRenderer : IAsyncDisposable, IDisposable
type HtmlRenderer = class
interface IDisposable
interface IAsyncDisposable
Public NotInheritable Class HtmlRenderer
Implements IAsyncDisposable, IDisposable
- Inheritance
-
HtmlRenderer
- Implements
Html |
Constructs an instance of HtmlRenderer. |
Dispatcher |
Gets the Dispatcher associated with this instance. Any calls to RenderComponentAsync<TComponent>() or BeginRenderingComponent<TComponent>() must be performed using this Dispatcher. |
Begin |
Adds an instance of the specified component and instructs it to render. The resulting content represents the initial synchronous rendering output, which may later change. To wait for the component hierarchy to complete any asynchronous operations such as loading, await QuiescenceTask before reading content from the HtmlRootComponent. |
Begin |
Adds an instance of the specified component and instructs it to render. The resulting content represents the initial synchronous rendering output, which may later change. To wait for the component hierarchy to complete any asynchronous operations such as loading, await QuiescenceTask before reading content from the HtmlRootComponent. |
Begin |
Adds an instance of the specified component and instructs it to render. The resulting content represents the initial synchronous rendering output, which may later change. To wait for the component hierarchy to complete any asynchronous operations such as loading, await QuiescenceTask before reading content from the HtmlRootComponent. |
Begin |
Adds an instance of the specified component and instructs it to render. The resulting content represents the initial synchronous rendering output, which may later change. To wait for the component hierarchy to complete any asynchronous operations such as loading, await QuiescenceTask before reading content from the HtmlRootComponent. |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously. |
Render |
Adds an instance of the specified component and instructs it to render, waiting for the component hierarchy to complete asynchronous tasks such as loading. |
Render |
Adds an instance of the specified component and instructs it to render, waiting for the component hierarchy to complete asynchronous tasks such as loading. |
Render |
Adds an instance of the specified component and instructs it to render, waiting for the component hierarchy to complete asynchronous tasks such as loading. |
Render |
Adds an instance of the specified component and instructs it to render, waiting for the component hierarchy to complete asynchronous tasks such as loading. |
Product | Versions |
---|---|
ASP.NET Core | 8.0, 9.0 |