Class SliceReducerSwitchBuilder<TState>
The Slice Reducer Switch Builder is used to build a reducer switch statement via method chaining. This builder does not require you to create Action Creators. It will automatically create them for you.
Inherited Members
Namespace: Unity.AppUI.Redux
Assembly: solution.dll
Syntax
public class SliceReducerSwitchBuilder<TState>
  Type Parameters
| Name | Description | 
|---|---|
| TState | The type of the state slice.  | 
      
Constructors
| Name | Description | 
|---|---|
| SliceReducerSwitchBuilder(string) | Creates a new Slice Reducer Switch Builder.  | 
      
Properties
| Name | Description | 
|---|---|
| name | The name of the slice.  | 
      
Methods
| Name | Description | 
|---|---|
| Add(string, CaseReducer<TState>) | Adds a case to the reducer switch statement.  | 
      
| Add(CaseReducer<TState>) | Adds a case to the reducer switch statement.  | 
      
| Add<T>(string, CaseReducer<T, TState>) | Adds a case to the reducer switch statement.  | 
      
| Add<T>(CaseReducer<T, TState>) | Adds a case to the reducer switch statement.  | 
      
| BuildReducers(IEnumerable<ActionCreator>) | Build the reducer switch statement.  |