FastMoq
Search Results for

    Show / Hide Table of Contents

    Class ComponentState<T>

    Typed wrapper around Blazor component render state information.

    Inheritance
    object
    ComponentState
    ComponentState<T>
    Inherited Members
    ComponentState.ComponentId
    ComponentState.CurrentRenderTree
    ComponentState.IsComponentBase
    ComponentState.ParentComponentState
    ComponentState.ComponentType
    ComponentState.GetOrCreateRenderedComponent(Type)
    ComponentState.GetOrCreateRenderedComponent<T>()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    Extension Methods

    ObjectExtensions.RaiseIfNull<T>(T?, string?, string?, int?, string?)
    TestClassExtensions.GetFieldValue<TObject>(TObject, string, TObject?)
    TestClassExtensions.GetField<TObject>(TObject, string)
    TestClassExtensions.GetMemberName<T, TValue>(T, Expression<Func<T, TValue>>)
    TestClassExtensions.GetMember<T, TValue>(T, Expression<Func<T, TValue>>)
    TestClassExtensions.GetMethodValue<TObject>(TObject, string, object?, params object[])
    TestClassExtensions.GetMethod<TObject>(TObject, string)
    TestClassExtensions.GetPropertyValue<TObject>(TObject, string, object?)
    TestClassExtensions.GetProperty<TObject>(TObject, string)
    TestClassExtensions.SetFieldValue<TObject>(TObject, string, object?)
    TestClassExtensions.SetPropertyValue<TObject>(TObject, string, object?)
    MockerHttpMoqExtensions.SetupHttpMessage(object, Func<HttpResponseMessage>, Expression?, Expression?)
    MockerHttpMoqExtensions.SetupMessageAsync<TMock, TReturn>(object, Expression<Func<TMock, Task<TReturn>>>, Func<TReturn>)
    MockerHttpMoqExtensions.SetupMessageProtectedAsync<TMock, TReturn>(object, string, Func<TReturn>, params object?[]?)
    MockerHttpMoqExtensions.SetupMessageProtected<TMock, TReturn>(object, string, Func<TReturn>, params object?[]?)
    MockerHttpMoqExtensions.SetupMessage<TMock, TReturn>(object, Expression<Func<TMock, TReturn>>, Func<TReturn>)
    TestClassExtensions.GetFieldInfo<TType>(object, string)
    TestClassExtensions.GetFieldValue<T>(object?, FieldInfo)
    TestClassExtensions.GetFieldValue<T, TType>(object, string)

    See Also

    ComponentState
    ComponentState
    In this article
    Back to top
    Generated 2026-04-08 12:38 UTC