Class Store<State> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Store<State>

    Inheritance
    System.Object
    Store<State>
    Namespace: Unity.UIWidgets
    Syntax
    public class Store<State>
    Type Parameters
    Name Description
    State

    Constructors

    Store(Reducer<State>, State, Middleware<State>[])

    Declaration
    public Store(Reducer<State> reducer, State initialState = null, params Middleware<State>[] middleware)
    Parameters
    Type Name Description
    Reducer<State> reducer
    State initialState
    Middleware<State>[] middleware

    Fields

    stateChanged

    Declaration
    public StateChangedHandler<State> stateChanged
    Field Value
    Type Description
    StateChangedHandler<State>

    Properties

    dispatcher

    Declaration
    public Dispatcher dispatcher { get; }
    Property Value
    Type Description
    Dispatcher

    Methods

    getState()

    Declaration
    public State getState()
    Returns
    Type Description
    State
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023