Class ComponentState<T>
Typed wrapper around Blazor component render state information.
Inherited Members
Namespace: FastMoq.Web.Blazor.Models
Assembly: FastMoq.Web.dll
Syntax
public class ComponentState<T> : ComponentState where T : ComponentBase
Type Parameters
| Name | Description |
|---|---|
| T | The component type represented by the state wrapper. |
Constructors
ComponentState(object?, TestRenderer)
Initializes a new instance of the ComponentState<T> class.
Declaration
public ComponentState(object? obj, TestRenderer renderer)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object. |
| TestRenderer | renderer | The renderer. |
Properties
Component
Gets the component.
Declaration
public T? Component { get; }
Property Value
| Type | Description |
|---|---|
| T | The component. |