Пример #1
0
 protected StoreActionContainer MakeContainer(StoreActionType type, IPayload data)
 {
     return(new StoreActionContainer()
     {
         type = type, data = data
     });
 }
Пример #2
0
    private void RequireLoggedOutAction(StoreActionType action)
    {
        var containerData = new ResponseData()
        {
            message = "Error: You are already logged in. Please log out first then try again."
        };

        Dispatch(MakeContainer(action, containerData));
    }