Interface IStoreAction<TState, TSlice>
An action responsible for dispatching events and accessing a particular slice of the store
Namespace: Onbox.Store.V8
Assembly: Onbox.Store.dll
Syntax
public interface IStoreAction<TState, TSlice>
where TState : class, new()
where TSlice : class, new()
Type Parameters
| Name | Description |
|---|---|
| TState | The type of the global state |
| TSlice | The type of slice |
Methods
| Improve this Doc View SourceGetActionName()
The name that will be shown on the state history
Declaration
string GetActionName()
Returns
| Type | Description |
|---|---|
| System.String |
GetActionPath()
The expression responsible for accessing the slice of the state
Declaration
Expression<Func<TState, TSlice>> GetActionPath()
Returns
| Type | Description |
|---|---|
| System.Linq.Expressions.Expression<System.Func<TState, TSlice>> |